#1F2136#1F2136
#1F2136 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.040 H 279.0°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2136 |
|---|---|
| RGB | rgb(31, 33, 54) |
| HSL | hsl(235, 27%, 17%) |
| HSV | hsv(235, 43%, 21%) |
| CMYK | cmyk(42.6%, 38.9%, 0%, 78.8%) |
| CIE-LAB | lab(13.50, 5.47, -13.99) |
| CIE-LCH | lch(13.50, 15.02, 291.37°) |
| OKLab | oklab(25.64% 0.0062 -0.0391) |
| OKLCH | oklch(25.64% 0.04 279) |
| XYZ | xyz(1.7746, 1.6453, 3.7134) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.94
Dark
#1B2431
ΔE00 6.73
Navy (survey)
#01153E
ΔE00 8.54
Midnight
#03012D
ΔE00 9.82
Dark Navy Blue
#00022E
ΔE00 9.83
Dark Navy
#000435
ΔE00 10.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2136 #36341F
analogous
#1F2D36 #1F2136 #291F36
triadic
#1F2136 #361F21 #21361F
tetradic
#1F2136 #361F2D #36341F #1F3629
square
#1F2136 #361F2D #36341F #1F3629
split-complementary
#1F2136 #36291F #2D361F
monochromatic
#0B0C13 #0B0C13 #1F2136 #35395D #4C5184
Accessibility & contrast
On white
15.80
#1F2136 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#1F2136 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2136
15.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2136 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2136 | 1.00 | 15.80 | 1.33 | 15.80 |
| #FFFFFF | 15.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#192235
Tritanopia (blue-blind)
#192529
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #1f2136; /* rgb */ color: rgb(31, 33, 54); /* oklch */ color: oklch(25.6% 0.040 279.0);
Tailwind
colors: {
custom: {
50: '#5b5c6d',
500: '#1f2136',
950: '#000000',
},
}SCSS
$custom: #1f2136; $custom-light: #5b5c6d; $custom-dark: #000000;
JSON
{
"hex": "#1f2136",
"rgb": {
"r": 31,
"g": 33,
"b": 54
},
"hsl": {
"h": 234.783,
"s": 27.059,
"l": 16.667
},
"oklch": {
"l": 0.25638,
"c": 0.03956,
"h": 279
},
"luminance": 0.01645
}Semantic roles & 50–950 ramp
primary
#1F2136
secondary
#696648
accent
#BB64C3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040407
muted
#79797A