#1F4E7D#1F4E7D
#1F4E7D is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.094 H 251.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E7D |
|---|---|
| RGB | rgb(31, 78, 125) |
| HSL | hsl(210, 60%, 31%) |
| HSV | hsv(210, 75%, 49%) |
| CMYK | cmyk(75.2%, 37.6%, 0%, 51%) |
| CIE-LAB | lab(32.30, 1.28, -31.21) |
| CIE-LCH | lch(32.30, 31.23, 272.35°) |
| OKLab | oklab(41.62% -0.0303 -0.0888) |
| OKLCH | oklch(41.62% 0.094 251.1) |
| XYZ | xyz(6.9897, 7.2200, 20.4233) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 1.36
Dusk Blue
#26538D
ΔE00 2.73
Prussian Blue
#004577
ΔE00 3.19
Twilight Blue
#0A437A
ΔE00 3.63
Deep Sea Blue
#015482
ΔE00 4.00
Cobalt (survey)
#1E488F
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E7D #7D4E1F
analogous
#1F7D7D #1F4E7D #1F1F7D
triadic
#1F4E7D #7D1F4E #4E7D1F
tetradic
#1F4E7D #7D1F7D #7D4E1F #1F7D1F
square
#1F4E7D #7D1F7D #7D4E1F #1F7D1F
split-complementary
#1F4E7D #7D1F1F #7D7D1F
monochromatic
#07111B #132F4C #1F4E7D #2B6DAE #458BD1
Accessibility & contrast
On white
8.59
#1F4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F4E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E7D
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E7D | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4e7d; /* rgb */ color: rgb(31, 78, 125); /* oklch */ color: oklch(41.6% 0.094 251.1);
Tailwind
colors: {
custom: {
50: '#687fa3',
500: '#1f4e7d',
950: '#000000',
},
}SCSS
$custom: #1f4e7d; $custom-light: #687fa3; $custom-dark: #000000;
JSON
{
"hex": "#1f4e7d",
"rgb": {
"r": 31,
"g": 78,
"b": 125
},
"hsl": {
"h": 210,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.41617,
"c": 0.09381,
"h": 251.1
},
"luminance": 0.07221
}Semantic roles & 50–950 ramp
primary
#1F4E7D
secondary
#B07C48
accent
#9444E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F