#1F4495#1F4495
#1F4495 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.140 H 263.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4495 |
|---|---|
| RGB | rgb(31, 68, 149) |
| HSL | hsl(221, 66%, 35%) |
| HSV | hsv(221, 79%, 58%) |
| CMYK | cmyk(79.2%, 54.4%, 0%, 41.6%) |
| CIE-LAB | lab(30.87, 17.62, -48.28) |
| CIE-LCH | lch(30.87, 51.40, 290.05°) |
| OKLab | oklab(41.02% -0.0167 -0.1391) |
| OKLCH | oklch(41.02% 0.14 263.1) |
| XYZ | xyz(8.0551, 6.5945, 29.2763) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.03
Cobalt
#0047AB
ΔE00 3.11
Darkish Blue
#014182
ΔE00 3.98
Twilight Blue
#0A437A
ΔE00 4.98
Dusk Blue
#26538D
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4495 #95701F
analogous
#1F7F95 #1F4495 #351F95
triadic
#1F4495 #951F44 #44951F
tetradic
#1F4495 #951F7F #95701F #1F9535
square
#1F4495 #951F7F #95701F #1F9535
split-complementary
#1F4495 #95351F #7F951F
monochromatic
#0A1630 #142D62 #1F4495 #2A5BC8 #537EDB
Accessibility & contrast
On white
9.06
#1F4495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F4495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4495
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4495 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044E98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4495; /* rgb */ color: rgb(31, 68, 149); /* oklch */ color: oklch(41.0% 0.140 263.1);
Tailwind
colors: {
custom: {
50: '#6e77b5',
500: '#1f4495',
950: '#000000',
},
}SCSS
$custom: #1f4495; $custom-light: #6e77b5; $custom-dark: #000000;
JSON
{
"hex": "#1f4495",
"rgb": {
"r": 31,
"g": 68,
"b": 149
},
"hsl": {
"h": 221.186,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.41018,
"c": 0.14015,
"h": 263.1
},
"luminance": 0.06595
}Semantic roles & 50–950 ramp
primary
#1F4495
secondary
#BF9C51
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80