#1F4494#1F4494
#1F4494 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.139 H 263.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4494 |
|---|---|
| RGB | rgb(31, 68, 148) |
| HSL | hsl(221, 65%, 35%) |
| HSV | hsv(221, 79%, 58%) |
| CMYK | cmyk(79.1%, 54.1%, 0%, 42%) |
| CIE-LAB | lab(30.79, 17.22, -47.80) |
| CIE-LCH | lch(30.79, 50.80, 289.81°) |
| OKLab | oklab(40.94% -0.0168 -0.1377) |
| OKLCH | oklch(40.94% 0.139 263) |
| XYZ | xyz(7.9756, 6.5628, 28.8576) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.93
Cobalt
#0047AB
ΔE00 3.22
Darkish Blue
#014182
ΔE00 3.86
Twilight Blue
#0A437A
ΔE00 4.85
Dusk Blue
#26538D
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4494 #946F1F
analogous
#1F7E94 #1F4494 #351F94
triadic
#1F4494 #941F44 #44941F
tetradic
#1F4494 #941F7E #946F1F #1F9435
square
#1F4494 #941F7E #946F1F #1F9435
split-complementary
#1F4494 #94351F #7E941F
monochromatic
#0A162F #142D61 #1F4494 #2A5BC7 #537EDB
Accessibility & contrast
On white
9.08
#1F4494 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F4494 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4494
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4494 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4494 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4494; /* rgb */ color: rgb(31, 68, 148); /* oklch */ color: oklch(40.9% 0.139 263.0);
Tailwind
colors: {
custom: {
50: '#6e77b4',
500: '#1f4494',
950: '#000000',
},
}SCSS
$custom: #1f4494; $custom-light: #6e77b4; $custom-dark: #000000;
JSON
{
"hex": "#1f4494",
"rgb": {
"r": 31,
"g": 68,
"b": 148
},
"hsl": {
"h": 221.026,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.40937,
"c": 0.13873,
"h": 263
},
"luminance": 0.06564
}Semantic roles & 50–950 ramp
primary
#1F4494
secondary
#BE9C51
accent
#B33FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80