#223C99#223C99
#223C99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.155 H 267.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #223C99 |
|---|---|
| RGB | rgb(34, 60, 153) |
| HSL | hsl(227, 64%, 37%) |
| HSV | hsv(227, 78%, 60%) |
| CMYK | cmyk(77.8%, 60.8%, 0%, 40%) |
| CIE-LAB | lab(29.08, 25.01, -53.62) |
| CIE-LCH | lch(29.08, 59.16, 295.00°) |
| OKLab | oklab(39.81% -0.0082 -0.1549) |
| OKLCH | oklch(39.81% 0.155 267) |
| XYZ | xyz(8.0233, 5.8708, 30.8411) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Cobalt
#0047AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.24
Blueberry
#464196
ΔE00 5.26
Darkish Blue
#014182
ΔE00 6.20
Blue Blue
#2242C7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C99 #997F22
analogous
#227899 #223C99 #442299
triadic
#223C99 #99223C #3C9922
tetradic
#223C99 #992278 #997F22 #229944
square
#223C99 #992278 #997F22 #229944
split-complementary
#223C99 #994422 #789922
monochromatic
#0C1535 #172867 #223C99 #2D50CB #5B77DB
Accessibility & contrast
On white
9.66
#223C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#223C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C99
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C99 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #223c99; /* rgb */ color: rgb(34, 60, 153); /* oklch */ color: oklch(39.8% 0.155 267.0);
Tailwind
colors: {
custom: {
50: '#7071b8',
500: '#223c99',
950: '#000000',
},
}SCSS
$custom: #223c99; $custom-light: #7071b8; $custom-dark: #000000;
JSON
{
"hex": "#223c99",
"rgb": {
"r": 34,
"g": 60,
"b": 153
},
"hsl": {
"h": 226.891,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.39812,
"c": 0.15512,
"h": 267
},
"luminance": 0.05872
}Semantic roles & 50–950 ramp
primary
#223C99
secondary
#BFA858
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80