#1F4D91#1F4D91
#1F4D91 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.123 H 258.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D91 |
|---|---|
| RGB | rgb(31, 77, 145) |
| HSL | hsl(216, 65%, 35%) |
| HSV | hsv(216, 79%, 57%) |
| CMYK | cmyk(78.6%, 46.9%, 0%, 43.1%) |
| CIE-LAB | lab(33.23, 9.89, -42.03) |
| CIE-LCH | lch(33.23, 43.18, 283.24°) |
| OKLab | oklab(42.74% -0.0247 -0.1206) |
| OKLCH | oklch(42.74% 0.123 258.4) |
| XYZ | xyz(8.3279, 7.6424, 27.8188) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.76
Dusk Blue
#26538D
ΔE00 2.17
Light Navy
#155084
ΔE00 3.43
Cobalt
#0047AB
ΔE00 4.13
Darkish Blue
#014182
ΔE00 4.20
Twilight Blue
#0A437A
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D91 #91631F
analogous
#1F8691 #1F4D91 #2A1F91
triadic
#1F4D91 #911F4D #4D911F
tetradic
#1F4D91 #911F86 #91631F #1F912A
square
#1F4D91 #911F86 #91631F #1F912A
split-complementary
#1F4D91 #912A1F #86911F
monochromatic
#09172C #14325F #1F4D91 #2A68C3 #5188DA
Accessibility & contrast
On white
8.30
#1F4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#1F4D91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D91
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D91 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#0E4990
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f4d91; /* rgb */ color: rgb(31, 77, 145); /* oklch */ color: oklch(42.7% 0.123 258.4);
Tailwind
colors: {
custom: {
50: '#6c7eb2',
500: '#1f4d91',
950: '#000000',
},
}SCSS
$custom: #1f4d91; $custom-light: #6c7eb2; $custom-dark: #000000;
JSON
{
"hex": "#1f4d91",
"rgb": {
"r": 31,
"g": 77,
"b": 145
},
"hsl": {
"h": 215.789,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.42735,
"c": 0.12309,
"h": 258.4
},
"luminance": 0.07643
}Semantic roles & 50–950 ramp
primary
#1F4D91
secondary
#BD904F
accent
#A440E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80