#223E98#223E98
#223E98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.151 H 266.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #223E98 |
|---|---|
| RGB | rgb(34, 62, 152) |
| HSL | hsl(226, 63%, 36%) |
| HSV | hsv(226, 78%, 60%) |
| CMYK | cmyk(77.6%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.54, 23.26, -52.26) |
| CIE-LCH | lch(29.54, 57.20, 293.99°) |
| OKLab | oklab(40.13% -0.0097 -0.1509) |
| OKLCH | oklch(40.13% 0.151 266.3) |
| XYZ | xyz(8.0478, 6.0514, 30.4436) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Cobalt
#0047AB
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 4.50
Blueberry
#464196
ΔE00 5.39
Darkish Blue
#014182
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223E98 #987C22
analogous
#227998 #223E98 #412298
triadic
#223E98 #98223E #3E9822
tetradic
#223E98 #982279 #987C22 #229841
square
#223E98 #982279 #987C22 #229841
split-complementary
#223E98 #984122 #799822
monochromatic
#0C1534 #172A66 #223E98 #2D52CA #5A79DA
Accessibility & contrast
On white
9.50
#223E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#223E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223E98
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223E98 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223e98; /* rgb */ color: rgb(34, 62, 152); /* oklch */ color: oklch(40.1% 0.151 266.3);
Tailwind
colors: {
custom: {
50: '#7072b7',
500: '#223e98',
950: '#000000',
},
}SCSS
$custom: #223e98; $custom-light: #7072b7; $custom-dark: #000000;
JSON
{
"hex": "#223e98",
"rgb": {
"r": 34,
"g": 62,
"b": 152
},
"hsl": {
"h": 225.763,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.40128,
"c": 0.1512,
"h": 266.3
},
"luminance": 0.06052
}Semantic roles & 50–950 ramp
primary
#223E98
secondary
#BEA657
accent
#BF41E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80