#1F283F#1F283F
#1F283F is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.0% C 0.045 H 267.2°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F283F |
|---|---|
| RGB | rgb(31, 40, 63) |
| HSL | hsl(223, 34%, 18%) |
| HSV | hsv(223, 51%, 25%) |
| CMYK | cmyk(50.8%, 36.5%, 0%, 75.3%) |
| CIE-LAB | lab(16.34, 3.53, -15.87) |
| CIE-LCH | lch(16.34, 16.26, 282.55°) |
| OKLab | oklab(28% -0.0022 -0.0445) |
| OKLCH | oklch(28% 0.045 267.2) |
| XYZ | xyz(2.2208, 2.1676, 5.0030) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.34
Dark
#1B2431
ΔE00 5.46
Navy (survey)
#01153E
ΔE00 8.41
Marine
#042E60
ΔE00 8.53
Marine Blue
#01386A
ΔE00 10.49
Navy Blue (survey)
#001146
ΔE00 10.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F283F #3F361F
analogous
#1F383F #1F283F #261F3F
triadic
#1F283F #3F1F28 #283F1F
tetradic
#1F283F #3F1F38 #3F361F #1F3F26
square
#1F283F #3F1F38 #3F361F #1F3F26
split-complementary
#1F283F #3F261F #383F1F
monochromatic
#0A0D15 #0B0E16 #1F283F #334268 #475C91
Accessibility & contrast
On white
14.65
#1F283F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1F283F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F283F
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F283F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F283F | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#132D30
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f283f; /* rgb */ color: rgb(31, 40, 63); /* oklch */ color: oklch(28.0% 0.045 267.2);
Tailwind
colors: {
custom: {
50: '#5c6174',
500: '#1f283f',
950: '#000000',
},
}SCSS
$custom: #1f283f; $custom-light: #5c6174; $custom-dark: #000000;
JSON
{
"hex": "#1f283f",
"rgb": {
"r": 31,
"g": 40,
"b": 63
},
"hsl": {
"h": 223.125,
"s": 34.043,
"l": 18.431
},
"oklch": {
"l": 0.28002,
"c": 0.04454,
"h": 267.2
},
"luminance": 0.02168
}Semantic roles & 50–950 ramp
primary
#1F283F
secondary
#736747
accent
#AC5ECA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B