#1F4B8F#1F4B8F
#1F4B8F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.1% C 0.123 H 259.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4B8F |
|---|---|
| RGB | rgb(31, 75, 143) |
| HSL | hsl(216, 64%, 34%) |
| HSV | hsv(216, 78%, 56%) |
| CMYK | cmyk(78.3%, 47.6%, 0%, 43.9%) |
| CIE-LAB | lab(32.49, 10.44, -41.99) |
| CIE-LCH | lch(32.49, 43.27, 283.96°) |
| OKLab | oklab(42.13% -0.0233 -0.1205) |
| OKLCH | oklch(42.13% 0.123 259) |
| XYZ | xyz(8.0373, 7.3057, 26.9678) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.08
Dusk Blue
#26538D
ΔE00 2.79
Darkish Blue
#014182
ΔE00 3.65
Light Navy
#155084
ΔE00 3.80
Twilight Blue
#0A437A
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4B8F #8F631F
analogous
#1F838F #1F4B8F #2B1F8F
triadic
#1F4B8F #8F1F4B #4B8F1F
tetradic
#1F4B8F #8F1F83 #8F631F #1F8F2B
square
#1F4B8F #8F1F83 #8F631F #1F8F2B
split-complementary
#1F4B8F #8F2B1F #838F1F
monochromatic
#09162A #14315D #1F4B8F #2A65C1 #4F85D9
Accessibility & contrast
On white
8.53
#1F4B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1F4B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4B8F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4B8F | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#0A488E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4b8f; /* rgb */ color: rgb(31, 75, 143); /* oklch */ color: oklch(42.1% 0.123 259.0);
Tailwind
colors: {
custom: {
50: '#6c7cb0',
500: '#1f4b8f',
950: '#000000',
},
}SCSS
$custom: #1f4b8f; $custom-light: #6c7cb0; $custom-dark: #000000;
JSON
{
"hex": "#1f4b8f",
"rgb": {
"r": 31,
"g": 75,
"b": 143
},
"hsl": {
"h": 216.429,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.42126,
"c": 0.12274,
"h": 259
},
"luminance": 0.07307
}Semantic roles & 50–950 ramp
primary
#1F4B8F
secondary
#BC914E
accent
#A640E7
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F