#1F4D9B#1F4D9B
#1F4D9B is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.137 H 260.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D9B |
|---|---|
| RGB | rgb(31, 77, 155) |
| HSL | hsl(218, 67%, 36%) |
| HSV | hsv(218, 80%, 61%) |
| CMYK | cmyk(80%, 50.3%, 0%, 39.2%) |
| CIE-LAB | lab(33.91, 13.89, -47.01) |
| CIE-LCH | lch(33.91, 49.01, 286.46°) |
| OKLab | oklab(43.48% -0.0231 -0.1352) |
| OKLCH | oklch(43.48% 0.137 260.3) |
| XYZ | xyz(9.1332, 7.9645, 32.0599) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.11
Dusk Blue
#26538D
ΔE00 2.99
Cobalt
#0047AB
ΔE00 3.01
Sapphire
#0F52BA
ΔE00 4.07
Light Navy
#155084
ΔE00 4.53
Darkish Blue
#014182
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D9B #9B6D1F
analogous
#1F8B9B #1F4D9B #2F1F9B
triadic
#1F4D9B #9B1F4D #4D9B1F
tetradic
#1F4D9B #9B1F8B #9B6D1F #1F9B2F
square
#1F4D9B #9B1F8B #9B6D1F #1F9B2F
split-complementary
#1F4D9B #9B2F1F #8B9B1F
monochromatic
#0B1A35 #153468 #1F4D9B #2966CE #5789DD
Accessibility & contrast
On white
8.10
#1F4D9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1F4D9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D9B
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D9B | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4d9b; /* rgb */ color: rgb(31, 77, 155); /* oklch */ color: oklch(43.5% 0.137 260.3);
Tailwind
colors: {
custom: {
50: '#6f7eb9',
500: '#1f4d9b',
950: '#000000',
},
}SCSS
$custom: #1f4d9b; $custom-light: #6f7eb9; $custom-dark: #000000;
JSON
{
"hex": "#1f4d9b",
"rgb": {
"r": 31,
"g": 77,
"b": 155
},
"hsl": {
"h": 217.742,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.43478,
"c": 0.13716,
"h": 260.3
},
"luminance": 0.07966
}Semantic roles & 50–950 ramp
primary
#1F4D9B
secondary
#C19955
accent
#AA3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80