#1F4B96#1F4B96
#1F4B96 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.133 H 260.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4B96 |
|---|---|
| RGB | rgb(31, 75, 150) |
| HSL | hsl(218, 66%, 35%) |
| HSV | hsv(218, 79%, 59%) |
| CMYK | cmyk(79.3%, 50%, 0%, 41.2%) |
| CIE-LAB | lab(32.97, 13.24, -45.49) |
| CIE-LCH | lch(32.97, 47.38, 286.23°) |
| OKLab | oklab(42.65% -0.0222 -0.1308) |
| OKLCH | oklch(42.65% 0.133 260.4) |
| XYZ | xyz(8.5842, 7.5245, 29.8482) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.25
Cobalt
#0047AB
ΔE00 3.18
Dusk Blue
#26538D
ΔE00 3.21
Darkish Blue
#014182
ΔE00 4.22
Light Navy
#155084
ΔE00 4.49
Twilight Blue
#0A437A
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4B96 #966A1F
analogous
#1F8696 #1F4B96 #2E1F96
triadic
#1F4B96 #961F4B #4B961F
tetradic
#1F4B96 #961F86 #966A1F #1F962E
square
#1F4B96 #961F86 #966A1F #1F962E
split-complementary
#1F4B96 #962E1F #86961F
monochromatic
#0A1831 #153263 #1F4B96 #2964C9 #5486DC
Accessibility & contrast
On white
8.38
#1F4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1F4B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4B96
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4B96 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f4b96; /* rgb */ color: rgb(31, 75, 150); /* oklch */ color: oklch(42.6% 0.133 260.4);
Tailwind
colors: {
custom: {
50: '#6e7cb5',
500: '#1f4b96',
950: '#000000',
},
}SCSS
$custom: #1f4b96; $custom-light: #6e7cb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4b96",
"rgb": {
"r": 31,
"g": 75,
"b": 150
},
"hsl": {
"h": 217.815,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.42648,
"c": 0.13265,
"h": 260.4
},
"luminance": 0.07525
}Semantic roles & 50–950 ramp
primary
#1F4B96
secondary
#BF9752
accent
#AA3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80