#223A8F#223A8F
#223A8F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 267.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #223A8F |
|---|---|
| RGB | rgb(34, 58, 143) |
| HSL | hsl(227, 62%, 35%) |
| HSV | hsv(227, 76%, 56%) |
| CMYK | cmyk(76.2%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(27.71, 22.48, -49.73) |
| CIE-LCH | lch(27.71, 54.57, 294.32°) |
| OKLab | oklab(38.52% -0.007 -0.1435) |
| OKLCH | oklch(38.52% 0.144 267.2) |
| XYZ | xyz(7.1289, 5.3486, 26.6379) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 5.33
Blueberry
#464196
ΔE00 5.53
Darkish Blue
#014182
ΔE00 5.75
Cobalt
#0047AB
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223A8F #8F7722
analogous
#22718F #223A8F #41228F
triadic
#223A8F #8F223A #3A8F22
tetradic
#223A8F #8F2271 #8F7722 #228F41
square
#223A8F #8F2271 #8F7722 #228F41
split-complementary
#223A8F #8F4122 #718F22
monochromatic
#0A122C #16265E #223A8F #2E4EC0 #5571D7
Accessibility & contrast
On white
10.15
#223A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#223A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223A8F
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223A8F | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #223a8f; /* rgb */ color: rgb(34, 58, 143); /* oklch */ color: oklch(38.5% 0.144 267.2);
Tailwind
colors: {
custom: {
50: '#6e6fb1',
500: '#223a8f',
950: '#000000',
},
}SCSS
$custom: #223a8f; $custom-light: #6e6fb1; $custom-dark: #000000;
JSON
{
"hex": "#223a8f",
"rgb": {
"r": 34,
"g": 58,
"b": 143
},
"hsl": {
"h": 226.789,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.38522,
"c": 0.14369,
"h": 267.2
},
"luminance": 0.05349
}Semantic roles & 50–950 ramp
primary
#223A8F
secondary
#BAA352
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80