#1F4C8A#1F4C8A
#1F4C8A is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.114 H 257.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4C8A |
|---|---|
| RGB | rgb(31, 76, 138) |
| HSL | hsl(215, 63%, 33%) |
| HSV | hsv(215, 78%, 54%) |
| CMYK | cmyk(77.5%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(32.47, 7.77, -38.97) |
| CIE-LCH | lch(32.47, 39.73, 281.27°) |
| OKLab | oklab(42% -0.0252 -0.1116) |
| OKLCH | oklch(42% 0.114 257.3) |
| XYZ | xyz(7.7353, 7.2943, 25.0401) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.83
Dusk Blue
#26538D
ΔE00 2.31
Light Navy
#155084
ΔE00 3.01
Twilight Blue
#0A437A
ΔE00 3.55
Darkish Blue
#014182
ΔE00 3.63
Prussian Blue
#004577
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4C8A #8A5D1F
analogous
#1F818A #1F4C8A #271F8A
triadic
#1F4C8A #8A1F4C #4C8A1F
tetradic
#1F4C8A #8A1F81 #8A5D1F #1F8A27
square
#1F4C8A #8A1F81 #8A5D1F #1F8A27
split-complementary
#1F4C8A #8A271F #818A1F
monochromatic
#091526 #143058 #1F4C8A #2A68BC #4C87D7
Accessibility & contrast
On white
8.54
#1F4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1F4C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4C8A
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4C8A | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4c8a; /* rgb */ color: rgb(31, 76, 138); /* oklch */ color: oklch(42.0% 0.114 257.3);
Tailwind
colors: {
custom: {
50: '#6b7dac',
500: '#1f4c8a',
950: '#000000',
},
}SCSS
$custom: #1f4c8a; $custom-light: #6b7dac; $custom-dark: #000000;
JSON
{
"hex": "#1f4c8a",
"rgb": {
"r": 31,
"g": 76,
"b": 138
},
"hsl": {
"h": 214.766,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42001,
"c": 0.11439,
"h": 257.3
},
"luminance": 0.07295
}Semantic roles & 50–950 ramp
primary
#1F4C8A
secondary
#BA8B4B
accent
#A141E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F