#1F4F91#1F4F91
#1F4F91 is a dark, vivid cyan. Relative luminance 0.079; OKLCH L 43.2% C 0.121 H 257.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F91 |
|---|---|
| RGB | rgb(31, 79, 145) |
| HSL | hsl(215, 65%, 35%) |
| HSV | hsv(215, 79%, 57%) |
| CMYK | cmyk(78.6%, 45.5%, 0%, 43.1%) |
| CIE-LAB | lab(33.83, 8.55, -41.07) |
| CIE-LCH | lch(33.83, 41.95, 281.76°) |
| OKLab | oklab(43.2% -0.0265 -0.1177) |
| OKLCH | oklch(43.2% 0.121 257.3) |
| XYZ | xyz(8.4700, 7.9266, 27.8662) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.48
Cobalt (survey)
#1E488F
ΔE00 2.52
Light Navy
#155084
ΔE00 2.94
Light Navy Blue
#2E5A88
ΔE00 4.14
Cobalt
#0047AB
ΔE00 4.55
Denim Blue
#3B5B92
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F91 #91611F
analogous
#1F8891 #1F4F91 #281F91
triadic
#1F4F91 #911F4F #4F911F
tetradic
#1F4F91 #911F88 #91611F #1F9128
square
#1F4F91 #911F88 #91611F #1F9128
split-complementary
#1F4F91 #91281F #88911F
monochromatic
#09182C #14345F #1F4F91 #2A6AC3 #518ADA
Accessibility & contrast
On white
8.12
#1F4F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1F4F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F91
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F91 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#164B90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4f91; /* rgb */ color: rgb(31, 79, 145); /* oklch */ color: oklch(43.2% 0.121 257.3);
Tailwind
colors: {
custom: {
50: '#6c7fb2',
500: '#1f4f91',
950: '#000000',
},
}SCSS
$custom: #1f4f91; $custom-light: #6c7fb2; $custom-dark: #000000;
JSON
{
"hex": "#1f4f91",
"rgb": {
"r": 31,
"g": 79,
"b": 145
},
"hsl": {
"h": 214.737,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.432,
"c": 0.12063,
"h": 257.3
},
"luminance": 0.07928
}Semantic roles & 50–950 ramp
primary
#1F4F91
secondary
#BD8F4F
accent
#A140E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80