#1F4E5F#1F4E5F
#1F4E5F is a dark, muted cyan. Relative luminance 0.066; OKLCH L 39.9% C 0.058 H 225.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E5F |
|---|---|
| RGB | rgb(31, 78, 95) |
| HSL | hsl(196, 51%, 25%) |
| HSV | hsv(196, 67%, 37%) |
| CMYK | cmyk(67.4%, 17.9%, 0%, 62.7%) |
| CIE-LAB | lab(30.80, -10.04, -14.69) |
| CIE-LCH | lch(30.80, 17.80, 235.65°) |
| OKLab | oklab(39.93% -0.0411 -0.041) |
| OKLCH | oklch(39.93% 0.058 225) |
| XYZ | xyz(5.3542, 6.5658, 11.8094) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Grey Blue
#29465B
ΔE00 5.91
Dark Slate Blue
#214761
ΔE00 6.13
Dark Blue Grey
#1F3B4D
ΔE00 7.44
Charcoal
#36454F
ΔE00 7.53
Darkslategray
#2F4F4F
ΔE00 8.21
Petrol
#005F6A
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E5F #5F301F
analogous
#1F5F50 #1F4E5F #1F2E5F
triadic
#1F4E5F #5F1F4E #4E5F1F
tetradic
#1F4E5F #501F5F #5F301F #2E5F1F
square
#1F4E5F #501F5F #5F301F #2E5F1F
split-complementary
#1F4E5F #5F1F2E #5F501F
monochromatic
#081317 #102831 #1F4E5F #2E748D #3D9ABB
Accessibility & contrast
On white
9.08
#1F4E5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F4E5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E5F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E5F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C60
Deuteranopia (green-blind)
#3C465F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4e5f; /* rgb */ color: rgb(31, 78, 95); /* oklch */ color: oklch(39.9% 0.058 225.0);
Tailwind
colors: {
custom: {
50: '#637f8c',
500: '#1f4e5f',
950: '#000000',
},
}SCSS
$custom: #1f4e5f; $custom-light: #637f8c; $custom-dark: #000000;
JSON
{
"hex": "#1f4e5f",
"rgb": {
"r": 31,
"g": 78,
"b": 95
},
"hsl": {
"h": 195.938,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.39931,
"c": 0.058,
"h": 225
},
"luminance": 0.06566
}Semantic roles & 50–950 ramp
primary
#1F4E5F
secondary
#945B46
accent
#734EDA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D