#2239AF#2239AF
#2239AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.188 H 267.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2239AF |
|---|---|
| RGB | rgb(34, 57, 175) |
| HSL | hsl(230, 67%, 41%) |
| HSV | hsv(230, 81%, 69%) |
| CMYK | cmyk(80.6%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(30.30, 35.33, -64.89) |
| CIE-LCH | lch(30.30, 73.89, 298.57°) |
| OKLab | oklab(41.32% -0.007 -0.1879) |
| OKLCH | oklch(41.32% 0.188 267.9) |
| XYZ | xyz(9.8580, 6.3603, 41.2572) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.61
Blue Blue
#2242C7
ΔE00 3.98
Ocean Blue
#4F42B5
ΔE00 5.70
Cobalt
#0047AB
ΔE00 5.80
Blueberry
#464196
ΔE00 6.05
Blue (survey)
#0343DF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2239AF #AF9822
analogous
#227FAF #2239AF #5122AF
triadic
#2239AF #AF2239 #39AF22
tetradic
#2239AF #AF227F #AF9822 #22AF51
square
#2239AF #AF227F #AF9822 #22AF51
split-complementary
#2239AF #AF5122 #7FAF22
monochromatic
#0E1849 #18287C #2239AF #3651D8 #697DE2
Accessibility & contrast
On white
9.24
#2239AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2239AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2239AF
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2239AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2239AF | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2239af; /* rgb */ color: rgb(34, 57, 175); /* oklch */ color: oklch(41.3% 0.188 267.9);
Tailwind
colors: {
custom: {
50: '#766fc8',
500: '#2239af',
950: '#000000',
},
}SCSS
$custom: #2239af; $custom-light: #766fc8; $custom-dark: #000000;
JSON
{
"hex": "#2239af",
"rgb": {
"r": 34,
"g": 57,
"b": 175
},
"hsl": {
"h": 230.213,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.4132,
"c": 0.18806,
"h": 267.9
},
"luminance": 0.06361
}Semantic roles & 50–950 ramp
primary
#2239AF
secondary
#C8B865
accent
#CE3DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82