#223FAF#223FAF
#223FAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.181 H 266.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #223FAF |
|---|---|
| RGB | rgb(34, 63, 175) |
| HSL | hsl(228, 67%, 41%) |
| HSV | hsv(228, 81%, 69%) |
| CMYK | cmyk(80.6%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(31.78, 31.43, -62.46) |
| CIE-LCH | lch(31.78, 69.93, 296.71°) |
| OKLab | oklab(42.41% -0.0102 -0.1808) |
| OKLCH | oklch(42.41% 0.181 266.8) |
| XYZ | xyz(10.1723, 6.9890, 41.3620) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blue Blue
#2242C7
ΔE00 3.32
Cobalt
#0047AB
ΔE00 4.10
Ocean Blue
#4F42B5
ΔE00 5.74
Blueberry
#464196
ΔE00 5.89
Blue (survey)
#0343DF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223FAF #AF9222
analogous
#2285AF #223FAF #4C22AF
triadic
#223FAF #AF223F #3FAF22
tetradic
#223FAF #AF2285 #AF9222 #22AF4C
square
#223FAF #AF2285 #AF9222 #22AF4C
split-complementary
#223FAF #AF4C22 #85AF22
monochromatic
#0E1A49 #182D7C #223FAF #3657D8 #6982E2
Accessibility & contrast
On white
8.76
#223FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#223FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223FAF
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223FAF | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #223faf; /* rgb */ color: rgb(34, 63, 175); /* oklch */ color: oklch(42.4% 0.181 266.8);
Tailwind
colors: {
custom: {
50: '#7673c8',
500: '#223faf',
950: '#000000',
},
}SCSS
$custom: #223faf; $custom-light: #7673c8; $custom-dark: #000000;
JSON
{
"hex": "#223faf",
"rgb": {
"r": 34,
"g": 63,
"b": 175
},
"hsl": {
"h": 227.66,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.42405,
"c": 0.18108,
"h": 266.8
},
"luminance": 0.0699
}Semantic roles & 50–950 ramp
primary
#223FAF
secondary
#C8B365
accent
#C73DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82