#1F4890#1F4890
#1F4890 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.128 H 260.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4890 |
|---|---|
| RGB | rgb(31, 72, 144) |
| HSL | hsl(218, 65%, 34%) |
| HSV | hsv(218, 78%, 56%) |
| CMYK | cmyk(78.5%, 50%, 0%, 43.5%) |
| CIE-LAB | lab(31.67, 12.88, -43.93) |
| CIE-LCH | lch(31.67, 45.78, 286.34°) |
| OKLab | oklab(41.51% -0.0206 -0.1263) |
| OKLCH | oklch(41.51% 0.128 260.7) |
| XYZ | xyz(7.9147, 6.9387, 27.3023) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.22
Darkish Blue
#014182
ΔE00 3.33
Cobalt
#0047AB
ΔE00 3.62
Dusk Blue
#26538D
ΔE00 3.93
Twilight Blue
#0A437A
ΔE00 3.97
Light Navy
#155084
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4890 #90671F
analogous
#1F8190 #1F4890 #2F1F90
triadic
#1F4890 #901F48 #48901F
tetradic
#1F4890 #901F81 #90671F #1F902F
square
#1F4890 #901F81 #90671F #1F902F
split-complementary
#1F4890 #902F1F #81901F
monochromatic
#09162B #142F5E #1F4890 #2A61C2 #5082D9
Accessibility & contrast
On white
8.79
#1F4890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F4890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4890
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4890 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5093
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4890; /* rgb */ color: rgb(31, 72, 144); /* oklch */ color: oklch(41.5% 0.128 260.7);
Tailwind
colors: {
custom: {
50: '#6c7ab1',
500: '#1f4890',
950: '#000000',
},
}SCSS
$custom: #1f4890; $custom-light: #6c7ab1; $custom-dark: #000000;
JSON
{
"hex": "#1f4890",
"rgb": {
"r": 31,
"g": 72,
"b": 144
},
"hsl": {
"h": 218.23,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.41514,
"c": 0.12794,
"h": 260.7
},
"luminance": 0.0694
}Semantic roles & 50–950 ramp
primary
#1F4890
secondary
#BC944E
accent
#AB40E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80