Skip to content
PantoneTools
blue
X11 named colors

Blue2

blue2 · #0000EE

HEX

#0000EE

RGB

rgb(0, 0, 238)

CMYK

cmyk(100%, 100%, 0%, 7%)

HSL

hsl(240, 100%, 47%)

LAB

lab(29.8, 75.2, -102.4)

What is Blue2?

Blue2 is the blue2 reference in the X11 named colors. Its sRGB value is #0000EE (rgb 0, 0, 238). It sits in the blue family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Blue2 as a background.

Black text on this color

Sample text · 2.23 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 9.40 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Blue2

An 11-step tonal scale derived from Blue2 (#0000EE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #EBEBFE

50

#EBEBFE

#EBEBFE

Copied #D6D6FC

100

#D6D6FC

#D6D6FC

Copied #ADADFA

200

#ADADFA

#ADADFA

Copied #8080F7

300

#8080F7

#8080F7

Copied #4040F2

400

#4040F2

#4040F2

Copied #0000EE

500

#0000EE

#0000EE

Copied #0000CA

600

#0000CA

#0000CA

Copied #00009B

700

#00009B

#00009B

Copied #00006B

800

#00006B

#00006B

Copied #00003C

900

#00003C

#00003C

Copied #00001D

950

#00001D

#00001D

Lighter tints (mixed with white)

Copied #6C6CF1

15%

#6C6CF1

Copied #9595F3

30%

#9595F3

Copied #B3B3F6

45%

#B3B3F6

Copied #CBCBF8

60%

#CBCBF8

Copied #E1E1FB

75%

#E1E1FB

Darker shades (mixed with black)

Copied #0000DD

15%

#0000DD

Copied #0000CB

30%

#0000CB

Copied #0000B6

45%

#0000B6

Copied #00009E

60%

#00009E

Copied #00007F

75%

#00007F

Color harmonies for Blue2

Classic color-theory harmonies derived from rotating the hue of Blue2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #0000EE

#0000EE

#0000EE

Copied #F0F000

#F0F000

#F0F000

Triadic

Three colors 120° apart

Copied #0000EE

#0000EE

#0000EE

Copied #F00000

#F00000

#F00000

Copied #00F000

#00F000

#00F000

Analogous

Two neighbors ±30° on the wheel

Copied #0078F0

#0078F0

#0078F0

Copied #0000EE

#0000EE

#0000EE

Copied #7800F0

#7800F0

#7800F0

Split-complementary

Base + two colors flanking its complement

Copied #0000EE

#0000EE

#0000EE

Copied #F07800

#F07800

#F07800

Copied #78F000

#78F000

#78F000

Tetradic

Two complementary pairs

Copied #0000EE

#0000EE

#0000EE

Copied #F000F0

#F000F0

#F000F0

Copied #F0F000

#F0F000

#F0F000

Copied #00F000

#00F000

#00F000

Square

Four colors evenly spaced 90° apart

Copied #0000EE

#0000EE

#0000EE

Copied #F00078

#F00078

#F00078

Copied #F0F000

#F0F000

#F0F000

Copied #00F078

#00F078

#00F078

Blue2 in every color space

Full conversion of Blue2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#0000EE

RGB

rgb(0, 0, 238)

CMYK

cmyk(100%, 100%, 0%, 7%)

HSL

hsl(240, 100%, 47%)

HSV

hsv(240, 100%, 93%)

HWB

hwb(240 0% 7%)

CIE Lab

lab(29.8 75.2 -102.4)

OKLCH

oklch(42.9% 0.297 264.1)

XYZ (D65)

xyz(15.43, 6.17, 81.25)

Copy-ready code for Blue2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #0000EE;
background-color: #0000EE;

CSS variable

:root {
  --color-blue2: #0000EE;
}

Tailwind config

// tailwind.config.js
colors: {
  'blue2': '#0000EE',
}

Sass

$color-blue2: #0000EE;

Swift UIColor

UIColor(red: 0.000, green: 0.000, blue: 0.933, alpha: 1.0)

Android XML

<color name="blue2">#0000EE</color>

Closest match in every color system

The nearest Blue2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #063971

RAL 5017

#063971

Traffic blue

Copied #1D334A

RAL 5020

#1D334A

Ocean blue

Copied #354D73

RAL 5000

#354D73

Violet blue

Copied #1E2460

RAL 5005

#1E2460

Signal blue

Copied #1B5583

RAL 5019

#1B5583

Capri blue

Copied #3E5F8A

RAL 5007

#3E5F8A

Brilliant blue

FAQ about Blue2

What is the HEX code for Blue2?

Blue2 (blue2) has the HEX code #0000EE. In RGB it is rgb(0, 0, 238), and in CMYK it is cmyk(100%, 100%, 0%, 7%).

What is the OKLCH value of Blue2?

Blue2 converts to oklch(0.429 0.297 264.1). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Blue2 accessible for body text?

Used as a background, Blue2 has a contrast ratio of 2.23:1 with black text and 9.40:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Blue2?

The closest Pantone reference to Blue2 by ΔE2000 perceptual distance is Pantone Blue 072 C (#10069F). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Blue2?

The closest RAL Classic reference to Blue2 by ΔE2000 distance is RAL 5017 (Traffic blue, #063971). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Blue2?

The complementary color (180° opposite on the HSL color wheel) of Blue2 is #F0F000. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
blue

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Blue2 — #0000EE | PantoneTools