#223D8E#223D8E
#223D8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.138 H 266.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #223D8E |
|---|---|
| RGB | rgb(34, 61, 142) |
| HSL | hsl(225, 61%, 35%) |
| HSV | hsv(225, 76%, 56%) |
| CMYK | cmyk(76.1%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(28.46, 20.02, -47.89) |
| CIE-LCH | lch(28.46, 51.91, 292.69°) |
| OKLab | oklab(39.06% -0.0094 -0.1381) |
| OKLCH | oklch(39.06% 0.138 266.1) |
| XYZ | xyz(7.2092, 5.6298, 26.2927) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.24
Darkish Blue
#014182
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.14
Blueberry
#464196
ΔE00 5.76
Twilight Blue
#0A437A
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223D8E #8E7322
analogous
#22738E #223D8E #3D228E
triadic
#223D8E #8E223D #3D8E22
tetradic
#223D8E #8E2273 #8E7322 #228E3D
square
#223D8E #8E2273 #8E7322 #228E3D
split-complementary
#223D8E #8E3D22 #738E22
monochromatic
#0A132B #16285D #223D8E #2E52BF #5475D6
Accessibility & contrast
On white
9.88
#223D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#223D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223D8E
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223D8E | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #223d8e; /* rgb */ color: rgb(34, 61, 142); /* oklch */ color: oklch(39.1% 0.138 266.1);
Tailwind
colors: {
custom: {
50: '#6e72b0',
500: '#223d8e',
950: '#000000',
},
}SCSS
$custom: #223d8e; $custom-light: #6e72b0; $custom-dark: #000000;
JSON
{
"hex": "#223d8e",
"rgb": {
"r": 34,
"g": 61,
"b": 142
},
"hsl": {
"h": 225,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.39062,
"c": 0.13838,
"h": 266.1
},
"luminance": 0.05631
}Semantic roles & 50–950 ramp
primary
#223D8E
secondary
#BAA052
accent
#BC43E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F