#1F4E9F#1F4E9F
#1F4E9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.141 H 260.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E9F |
|---|---|
| RGB | rgb(31, 78, 159) |
| HSL | hsl(218, 67%, 37%) |
| HSV | hsv(218, 81%, 62%) |
| CMYK | cmyk(80.5%, 50.9%, 0%, 37.6%) |
| CIE-LAB | lab(34.48, 14.81, -48.49) |
| CIE-LCH | lch(34.48, 50.70, 286.99°) |
| OKLab | oklab(44.01% -0.0233 -0.1396) |
| OKLCH | oklch(44.01% 0.141 260.5) |
| XYZ | xyz(9.5452, 8.2422, 33.8820) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.67
Cobalt
#0047AB
ΔE00 2.88
Dusk Blue
#26538D
ΔE00 3.14
Sapphire
#0F52BA
ΔE00 3.51
Light Navy
#155084
ΔE00 4.79
Denim Blue
#3B5B92
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E9F #9F701F
analogous
#1F8E9F #1F4E9F #301F9F
triadic
#1F4E9F #9F1F4E #4E9F1F
tetradic
#1F4E9F #9F1F8E #9F701F #1F9F30
square
#1F4E9F #9F1F8E #9F701F #1F9F30
split-complementary
#1F4E9F #9F301F #8E9F1F
monochromatic
#0B1C39 #15356C #1F4E9F #2967D2 #5A8BDF
Accessibility & contrast
On white
7.93
#1F4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#1F4E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E9F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E9F | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4e9f; /* rgb */ color: rgb(31, 78, 159); /* oklch */ color: oklch(44.0% 0.141 260.5);
Tailwind
colors: {
custom: {
50: '#707ebc',
500: '#1f4e9f',
950: '#000000',
},
}SCSS
$custom: #1f4e9f; $custom-light: #707ebc; $custom-dark: #000000;
JSON
{
"hex": "#1f4e9f",
"rgb": {
"r": 31,
"g": 78,
"b": 159
},
"hsl": {
"h": 217.969,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.44006,
"c": 0.14149,
"h": 260.5
},
"luminance": 0.08243
}Semantic roles & 50–950 ramp
primary
#1F4E9F
secondary
#C39B57
accent
#AB3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81