#1F4E62#1F4E62
#1F4E62 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.1% C 0.061 H 229.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E62 |
|---|---|
| RGB | rgb(31, 78, 98) |
| HSL | hsl(198, 52%, 25%) |
| HSV | hsv(198, 68%, 38%) |
| CMYK | cmyk(68.4%, 20.4%, 0%, 61.6%) |
| CIE-LAB | lab(30.93, -8.97, -16.40) |
| CIE-LCH | lch(30.93, 18.69, 241.33°) |
| OKLab | oklab(40.08% -0.0398 -0.0458) |
| OKLCH | oklch(40.08% 0.061 229) |
| XYZ | xyz(5.4932, 6.6214, 12.5415) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Slate Blue
#214761
ΔE00 4.82
Dark Grey Blue
#29465B
ΔE00 4.87
Dark Blue Grey
#1F3B4D
ΔE00 6.91
Charcoal
#36454F
ΔE00 7.36
Deep Sea Blue
#015482
ΔE00 8.14
Petrol
#005F6A
ΔE00 9.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E62 #62331F
analogous
#1F6254 #1F4E62 #1F2D62
triadic
#1F4E62 #621F4E #4E621F
tetradic
#1F4E62 #541F62 #62331F #2D621F
square
#1F4E62 #541F62 #62331F #2D621F
split-complementary
#1F4E62 #621F2D #62541F
monochromatic
#071317 #102934 #1F4E62 #2E7390 #3C98BF
Accessibility & contrast
On white
9.03
#1F4E62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F4E62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E62
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E62 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#3A4662
Tritanopia (blue-blind)
#005455
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4e62; /* rgb */ color: rgb(31, 78, 98); /* oklch */ color: oklch(40.1% 0.061 229.0);
Tailwind
colors: {
custom: {
50: '#637f8e',
500: '#1f4e62',
950: '#000000',
},
}SCSS
$custom: #1f4e62; $custom-light: #637f8e; $custom-dark: #000000;
JSON
{
"hex": "#1f4e62",
"rgb": {
"r": 31,
"g": 78,
"b": 98
},
"hsl": {
"h": 197.91,
"s": 51.938,
"l": 25.294
},
"oklch": {
"l": 0.4008,
"c": 0.06069,
"h": 229
},
"luminance": 0.06622
}Semantic roles & 50–950 ramp
primary
#1F4E62
secondary
#975E46
accent
#774CDB
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D