#223151#223151
#223151 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.061 H 264.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #223151 |
|---|---|
| RGB | rgb(34, 49, 81) |
| HSL | hsl(221, 41%, 23%) |
| HSV | hsv(221, 58%, 32%) |
| CMYK | cmyk(58%, 39.5%, 0%, 68.2%) |
| CIE-LAB | lab(20.56, 4.58, -21.48) |
| CIE-LCH | lch(20.56, 21.97, 282.04°) |
| OKLab | oklab(31.67% -0.0062 -0.0607) |
| OKLCH | oklch(31.67% 0.061 264.2) |
| XYZ | xyz(3.2427, 3.1306, 8.2164) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.22
Marine
#042E60
ΔE00 5.15
Marine Blue
#01386A
ΔE00 6.73
Dark
#1B2431
ΔE00 8.76
Navy (survey)
#01153E
ΔE00 9.05
Twilight Blue
#0A437A
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223151 #514222
analogous
#224951 #223151 #2A2251
triadic
#223151 #512231 #315122
tetradic
#223151 #512249 #514222 #22512A
square
#223151 #512249 #514222 #22512A
split-complementary
#223151 #512A22 #495122
monochromatic
#090D16 #101726 #223151 #344B7C #4665A7
Accessibility & contrast
On white
12.91
#223151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#223151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223151
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223151 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1F3050
Tritanopia (blue-blind)
#0A383D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #223151; /* rgb */ color: rgb(34, 49, 81); /* oklch */ color: oklch(31.7% 0.061 264.2);
Tailwind
colors: {
custom: {
50: '#616882',
500: '#223151',
950: '#000000',
},
}SCSS
$custom: #223151; $custom-light: #616882; $custom-dark: #000000;
JSON
{
"hex": "#223151",
"rgb": {
"r": 34,
"g": 49,
"b": 81
},
"hsl": {
"h": 220.851,
"s": 40.87,
"l": 22.549
},
"oklch": {
"l": 0.31666,
"c": 0.06099,
"h": 264.2
},
"luminance": 0.03131
}Semantic roles & 50–950 ramp
primary
#223151
secondary
#85724A
accent
#AA57D1
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C