#1F4891#1F4891
#1F4891 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.129 H 260.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4891 |
|---|---|
| RGB | rgb(31, 72, 145) |
| HSL | hsl(218, 65%, 35%) |
| HSV | hsv(218, 79%, 57%) |
| CMYK | cmyk(78.6%, 50.3%, 0%, 43.1%) |
| CIE-LAB | lab(31.74, 13.28, -44.43) |
| CIE-LCH | lch(31.74, 46.37, 286.64°) |
| OKLab | oklab(41.59% -0.0204 -0.1277) |
| OKLCH | oklch(41.59% 0.129 260.9) |
| XYZ | xyz(7.9914, 6.9695, 27.7066) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.36
Darkish Blue
#014182
ΔE00 3.43
Cobalt
#0047AB
ΔE00 3.49
Dusk Blue
#26538D
ΔE00 3.97
Twilight Blue
#0A437A
ΔE00 4.09
Light Navy
#155084
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4891 #91681F
analogous
#1F8191 #1F4891 #2F1F91
triadic
#1F4891 #911F48 #48911F
tetradic
#1F4891 #911F81 #91681F #1F912F
square
#1F4891 #911F81 #91681F #1F912F
split-complementary
#1F4891 #912F1F #81911F
monochromatic
#09162C #142F5F #1F4891 #2A61C3 #5182DA
Accessibility & contrast
On white
8.77
#1F4891 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F4891 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4891
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4891 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4891 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4891; /* rgb */ color: rgb(31, 72, 145); /* oklch */ color: oklch(41.6% 0.129 260.9);
Tailwind
colors: {
custom: {
50: '#6d7ab2',
500: '#1f4891',
950: '#000000',
},
}SCSS
$custom: #1f4891; $custom-light: #6d7ab2; $custom-dark: #000000;
JSON
{
"hex": "#1f4891",
"rgb": {
"r": 31,
"g": 72,
"b": 145
},
"hsl": {
"h": 218.421,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.4159,
"c": 0.12936,
"h": 260.9
},
"luminance": 0.0697
}Semantic roles & 50–950 ramp
primary
#1F4891
secondary
#BD954F
accent
#AB40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80