#223C97#223C97
#223C97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.152 H 266.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #223C97 |
|---|---|
| RGB | rgb(34, 60, 151) |
| HSL | hsl(227, 63%, 36%) |
| HSV | hsv(227, 77%, 59%) |
| CMYK | cmyk(77.5%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(28.92, 24.23, -52.67) |
| CIE-LCH | lch(28.92, 57.98, 294.70°) |
| OKLab | oklab(39.63% -0.0083 -0.1521) |
| OKLCH | oklch(39.63% 0.152 266.9) |
| XYZ | xyz(7.8595, 5.8053, 29.9785) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Cobalt
#0047AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.09
Blueberry
#464196
ΔE00 5.29
Darkish Blue
#014182
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C97 #977D22
analogous
#227797 #223C97 #432297
triadic
#223C97 #97223C #3C9722
tetradic
#223C97 #972277 #977D22 #229743
square
#223C97 #972277 #977D22 #229743
split-complementary
#223C97 #974322 #779722
monochromatic
#0C1433 #172865 #223C97 #2D50C9 #5A76DA
Accessibility & contrast
On white
9.72
#223C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#223C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C97
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C97 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #223c97; /* rgb */ color: rgb(34, 60, 151); /* oklch */ color: oklch(39.6% 0.152 266.9);
Tailwind
colors: {
custom: {
50: '#7071b6',
500: '#223c97',
950: '#000000',
},
}SCSS
$custom: #223c97; $custom-light: #7071b6; $custom-dark: #000000;
JSON
{
"hex": "#223c97",
"rgb": {
"r": 34,
"g": 60,
"b": 151
},
"hsl": {
"h": 226.667,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.39634,
"c": 0.15234,
"h": 266.9
},
"luminance": 0.05806
}Semantic roles & 50–950 ramp
primary
#223C97
secondary
#BEA757
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80