#1F293C#1F293C
#1F293C is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.1% C 0.038 H 262.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1F293C |
|---|---|
| RGB | rgb(31, 41, 60) |
| HSL | hsl(219, 32%, 18%) |
| HSV | hsv(219, 48%, 24%) |
| CMYK | cmyk(48.3%, 31.7%, 0%, 76.5%) |
| CIE-LAB | lab(16.52, 1.75, -13.51) |
| CIE-LCH | lch(16.52, 13.62, 277.36°) |
| OKLab | oklab(28.09% -0.0048 -0.0377) |
| OKLCH | oklch(28.09% 0.038 262.8) |
| XYZ | xyz(2.1734, 2.2033, 4.5848) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 3.47
Navy Blue
#1B2A4A
ΔE00 4.97
Dark Blue Grey
#1F3B4D
ΔE00 8.90
Gunmetal
#2A3439
ΔE00 9.18
Marine
#042E60
ΔE00 9.22
Navy (survey)
#01153E
ΔE00 9.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F293C #3C321F
analogous
#1F373C #1F293C #231F3C
triadic
#1F293C #3C1F29 #293C1F
tetradic
#1F293C #3C1F37 #3C321F #1F3C23
square
#1F293C #3C1F37 #3C321F #1F3C23
split-complementary
#1F293C #3C231F #373C1F
monochromatic
#0A0E14 #0A0E14 #1F293C #344564 #49608D
Accessibility & contrast
On white
14.58
#1F293C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1F293C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F293C
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F293C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F293C | 1.00 | 14.58 | 1.44 | 14.58 |
| #FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#1F283C
Tritanopia (blue-blind)
#152D30
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f293c; /* rgb */ color: rgb(31, 41, 60); /* oklch */ color: oklch(28.1% 0.038 262.8);
Tailwind
colors: {
custom: {
50: '#5c6271',
500: '#1f293c',
950: '#000000',
},
}SCSS
$custom: #1f293c; $custom-light: #5c6271; $custom-dark: #000000;
JSON
{
"hex": "#1f293c",
"rgb": {
"r": 31,
"g": 41,
"b": 60
},
"hsl": {
"h": 219.31,
"s": 31.868,
"l": 17.843
},
"oklch": {
"l": 0.28086,
"c": 0.03799,
"h": 262.8
},
"luminance": 0.02203
}Semantic roles & 50–950 ramp
primary
#1F293C
secondary
#706247
accent
#A460C8
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#040507
muted
#79797A