#1F4596#1F4596
#1F4596 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.140 H 262.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4596 |
|---|---|
| RGB | rgb(31, 69, 150) |
| HSL | hsl(221, 66%, 35%) |
| HSV | hsv(221, 79%, 59%) |
| CMYK | cmyk(79.3%, 54%, 0%, 41.2%) |
| CIE-LAB | lab(31.23, 17.33, -48.31) |
| CIE-LCH | lch(31.23, 51.32, 289.74°) |
| OKLab | oklab(41.32% -0.0174 -0.1392) |
| OKLCH | oklch(41.32% 0.14 262.9) |
| XYZ | xyz(8.1962, 6.7486, 29.7189) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.82
Cobalt
#0047AB
ΔE00 2.91
Darkish Blue
#014182
ΔE00 4.02
Twilight Blue
#0A437A
ΔE00 4.97
Dusk Blue
#26538D
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4596 #96701F
analogous
#1F8196 #1F4596 #341F96
triadic
#1F4596 #961F45 #45961F
tetradic
#1F4596 #961F81 #96701F #1F9634
square
#1F4596 #961F81 #96701F #1F9634
split-complementary
#1F4596 #96341F #81961F
monochromatic
#0A1631 #152E63 #1F4596 #295CC9 #547FDC
Accessibility & contrast
On white
8.94
#1F4596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1F4596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4596
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4596 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074F99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4596; /* rgb */ color: rgb(31, 69, 150); /* oklch */ color: oklch(41.3% 0.140 262.9);
Tailwind
colors: {
custom: {
50: '#6e78b5',
500: '#1f4596',
950: '#000000',
},
}SCSS
$custom: #1f4596; $custom-light: #6e78b5; $custom-dark: #000000;
JSON
{
"hex": "#1f4596",
"rgb": {
"r": 31,
"g": 69,
"b": 150
},
"hsl": {
"h": 220.84,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.41317,
"c": 0.14028,
"h": 262.9
},
"luminance": 0.0675
}Semantic roles & 50–950 ramp
primary
#1F4596
secondary
#BF9C52
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80