#223C8C#223C8C
#223C8C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.137 H 266.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #223C8C |
|---|---|
| RGB | rgb(34, 60, 140) |
| HSL | hsl(225, 61%, 34%) |
| HSV | hsv(225, 76%, 55%) |
| CMYK | cmyk(75.7%, 57.1%, 0%, 45.1%) |
| CIE-LAB | lab(28.02, 19.92, -47.37) |
| CIE-LCH | lch(28.02, 51.39, 292.81°) |
| OKLab | oklab(38.68% -0.0087 -0.1365) |
| OKLCH | oklch(38.68% 0.137 266.3) |
| XYZ | xyz(7.0075, 5.4645, 25.4913) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.53
Darkish Blue
#014182
ΔE00 4.94
Sapphire (survey)
#2138AB
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.53
Blueberry
#464196
ΔE00 5.81
Twilight Blue
#0A437A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C8C #8C7222
analogous
#22718C #223C8C #3D228C
triadic
#223C8C #8C223C #3C8C22
tetradic
#223C8C #8C2271 #8C7222 #228C3D
square
#223C8C #8C2271 #8C7222 #228C3D
split-complementary
#223C8C #8C3D22 #718C22
monochromatic
#0A122A #16275B #223C8C #2E51BD #5373D5
Accessibility & contrast
On white
10.03
#223C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#223C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C8C
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C8C | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #223c8c; /* rgb */ color: rgb(34, 60, 140); /* oklch */ color: oklch(38.7% 0.137 266.3);
Tailwind
colors: {
custom: {
50: '#6d71ae',
500: '#223c8c',
950: '#000000',
},
}SCSS
$custom: #223c8c; $custom-light: #6d71ae; $custom-dark: #000000;
JSON
{
"hex": "#223c8c",
"rgb": {
"r": 34,
"g": 60,
"b": 140
},
"hsl": {
"h": 225.283,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.38681,
"c": 0.13683,
"h": 266.3
},
"luminance": 0.05465
}Semantic roles & 50–950 ramp
primary
#223C8C
secondary
#B99F51
accent
#BD44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F