#1F4C91#1F4C91
#1F4C91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.124 H 258.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4C91 |
|---|---|
| RGB | rgb(31, 76, 145) |
| HSL | hsl(216, 65%, 35%) |
| HSV | hsv(216, 79%, 57%) |
| CMYK | cmyk(78.6%, 47.6%, 0%, 43.1%) |
| CIE-LAB | lab(32.93, 10.57, -42.52) |
| CIE-LCH | lch(32.93, 43.81, 283.96°) |
| OKLab | oklab(42.5% -0.0238 -0.122) |
| OKLCH | oklch(42.5% 0.124 258.9) |
| XYZ | xyz(8.2585, 7.5036, 27.7957) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.39
Dusk Blue
#26538D
ΔE00 2.53
Light Navy
#155084
ΔE00 3.70
Cobalt
#0047AB
ΔE00 3.95
Darkish Blue
#014182
ΔE00 3.98
Twilight Blue
#0A437A
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4C91 #91641F
analogous
#1F8591 #1F4C91 #2B1F91
triadic
#1F4C91 #911F4C #4C911F
tetradic
#1F4C91 #911F85 #91641F #1F912B
square
#1F4C91 #911F85 #91641F #1F912B
split-complementary
#1F4C91 #912B1F #85911F
monochromatic
#09172C #14325F #1F4C91 #2A66C3 #5187DA
Accessibility & contrast
On white
8.40
#1F4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F4C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4C91
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4C91 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f4c91; /* rgb */ color: rgb(31, 76, 145); /* oklch */ color: oklch(42.5% 0.124 258.9);
Tailwind
colors: {
custom: {
50: '#6c7db2',
500: '#1f4c91',
950: '#000000',
},
}SCSS
$custom: #1f4c91; $custom-light: #6c7db2; $custom-dark: #000000;
JSON
{
"hex": "#1f4c91",
"rgb": {
"r": 31,
"g": 76,
"b": 145
},
"hsl": {
"h": 216.316,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.42503,
"c": 0.12433,
"h": 258.9
},
"luminance": 0.07505
}Semantic roles & 50–950 ramp
primary
#1F4C91
secondary
#BD914F
accent
#A640E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80