#1F4B8D#1F4B8D
#1F4B8D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.120 H 258.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4B8D |
|---|---|
| RGB | rgb(31, 75, 141) |
| HSL | hsl(216, 64%, 34%) |
| HSV | hsv(216, 78%, 55%) |
| CMYK | cmyk(78%, 46.8%, 0%, 44.7%) |
| CIE-LAB | lab(32.36, 9.64, -40.98) |
| CIE-LCH | lch(32.36, 42.10, 283.24°) |
| OKLab | oklab(41.98% -0.0237 -0.1175) |
| OKLCH | oklch(41.98% 0.12 258.6) |
| XYZ | xyz(7.8871, 7.2456, 26.1770) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.20
Dusk Blue
#26538D
ΔE00 2.72
Darkish Blue
#014182
ΔE00 3.53
Light Navy
#155084
ΔE00 3.61
Twilight Blue
#0A437A
ΔE00 3.71
Cobalt
#0047AB
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4B8D #8D611F
analogous
#1F828D #1F4B8D #2A1F8D
triadic
#1F4B8D #8D1F4B #4B8D1F
tetradic
#1F4B8D #8D1F82 #8D611F #1F8D2A
square
#1F4B8D #8D1F82 #8D611F #1F8D2A
split-complementary
#1F4B8D #8D2A1F #828D1F
monochromatic
#091629 #14305B #1F4B8D #2A66BF #4E85D8
Accessibility & contrast
On white
8.57
#1F4B8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1F4B8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4B8D
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4B8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4B8D | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28518F
Deuteranopia (green-blind)
#0F478C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4b8d; /* rgb */ color: rgb(31, 75, 141); /* oklch */ color: oklch(42.0% 0.120 258.6);
Tailwind
colors: {
custom: {
50: '#6c7caf',
500: '#1f4b8d',
950: '#000000',
},
}SCSS
$custom: #1f4b8d; $custom-light: #6c7caf; $custom-dark: #000000;
JSON
{
"hex": "#1f4b8d",
"rgb": {
"r": 31,
"g": 75,
"b": 141
},
"hsl": {
"h": 216,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.41981,
"c": 0.11989,
"h": 258.6
},
"luminance": 0.07247
}Semantic roles & 50–950 ramp
primary
#1F4B8D
secondary
#BB8F4D
accent
#A541E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F