#1F4899#1F4899
#1F4899 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.141 H 262.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4899 |
|---|---|
| RGB | rgb(31, 72, 153) |
| HSL | hsl(220, 66%, 36%) |
| HSV | hsv(220, 80%, 60%) |
| CMYK | cmyk(79.7%, 52.9%, 0%, 40%) |
| CIE-LAB | lab(32.31, 16.48, -48.37) |
| CIE-LCH | lch(32.31, 51.10, 288.82°) |
| OKLab | oklab(42.21% -0.0194 -0.1393) |
| OKLCH | oklch(42.21% 0.141 262.1) |
| XYZ | xyz(8.6301, 7.2249, 31.0705) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.54
Cobalt
#0047AB
ΔE00 2.49
Darkish Blue
#014182
ΔE00 4.32
Dusk Blue
#26538D
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 5.07
Twilight Blue
#0A437A
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4899 #99701F
analogous
#1F8599 #1F4899 #331F99
triadic
#1F4899 #991F48 #48991F
tetradic
#1F4899 #991F85 #99701F #1F9933
square
#1F4899 #991F85 #99701F #1F9933
split-complementary
#1F4899 #99331F #85991F
monochromatic
#0A1833 #153066 #1F4899 #2960CC #5683DD
Accessibility & contrast
On white
8.59
#1F4899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1F4899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4899
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4899 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4899; /* rgb */ color: rgb(31, 72, 153); /* oklch */ color: oklch(42.2% 0.141 262.1);
Tailwind
colors: {
custom: {
50: '#6f7ab8',
500: '#1f4899',
950: '#000000',
},
}SCSS
$custom: #1f4899; $custom-light: #6f7ab8; $custom-dark: #000000;
JSON
{
"hex": "#1f4899",
"rgb": {
"r": 31,
"g": 72,
"b": 153
},
"hsl": {
"h": 219.836,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.42213,
"c": 0.14067,
"h": 262.1
},
"luminance": 0.07226
}Semantic roles & 50–950 ramp
primary
#1F4899
secondary
#C09C54
accent
#B03FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80