#223C8B#223C8B
#223C8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.135 H 266.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #223C8B |
|---|---|
| RGB | rgb(34, 60, 139) |
| HSL | hsl(225, 61%, 34%) |
| HSV | hsv(225, 76%, 55%) |
| CMYK | cmyk(75.5%, 56.8%, 0%, 45.5%) |
| CIE-LAB | lab(27.94, 19.53, -46.88) |
| CIE-LCH | lch(27.94, 50.78, 292.61°) |
| OKLab | oklab(38.6% -0.0088 -0.1351) |
| OKLCH | oklch(38.6% 0.135 266.3) |
| XYZ | xyz(6.9341, 5.4351, 25.1047) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.50
Darkish Blue
#014182
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.61
Blueberry
#464196
ΔE00 5.88
Twilight Blue
#0A437A
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C8B #8B7122
analogous
#22718B #223C8B #3D228B
triadic
#223C8B #8B223C #3C8B22
tetradic
#223C8B #8B2271 #8B7122 #228B3D
square
#223C8B #8B2271 #8B7122 #228B3D
split-complementary
#223C8B #8B3D22 #718B22
monochromatic
#0A1229 #16275A #223C8B #2E51BC #5373D5
Accessibility & contrast
On white
10.06
#223C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#223C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C8B
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C8B | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #223c8b; /* rgb */ color: rgb(34, 60, 139); /* oklch */ color: oklch(38.6% 0.135 266.3);
Tailwind
colors: {
custom: {
50: '#6d71ae',
500: '#223c8b',
950: '#000000',
},
}SCSS
$custom: #223c8b; $custom-light: #6d71ae; $custom-dark: #000000;
JSON
{
"hex": "#223c8b",
"rgb": {
"r": 34,
"g": 60,
"b": 139
},
"hsl": {
"h": 225.143,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.38597,
"c": 0.13539,
"h": 266.3
},
"luminance": 0.05436
}Semantic roles & 50–950 ramp
primary
#223C8B
secondary
#B89F50
accent
#BC44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F