#1F4599#1F4599
#1F4599 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 263.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4599 |
|---|---|
| RGB | rgb(31, 69, 153) |
| HSL | hsl(221, 66%, 36%) |
| HSV | hsv(221, 80%, 60%) |
| CMYK | cmyk(79.7%, 54.9%, 0%, 40%) |
| CIE-LAB | lab(31.45, 18.53, -49.76) |
| CIE-LCH | lch(31.45, 53.10, 290.42°) |
| OKLab | oklab(41.56% -0.0171 -0.1435) |
| OKLCH | oklch(41.56% 0.145 263.2) |
| XYZ | xyz(8.4409, 6.8465, 31.0074) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.19
Cobalt
#0047AB
ΔE00 2.58
Darkish Blue
#014182
ΔE00 4.40
Twilight Blue
#0A437A
ΔE00 5.36
Dusk Blue
#26538D
ΔE00 5.50
Sapphire
#0F52BA
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4599 #99731F
analogous
#1F8299 #1F4599 #361F99
triadic
#1F4599 #991F45 #45991F
tetradic
#1F4599 #991F82 #99731F #1F9936
square
#1F4599 #991F82 #99731F #1F9936
split-complementary
#1F4599 #99361F #82991F
monochromatic
#0A1733 #152E66 #1F4599 #295CCC #5680DD
Accessibility & contrast
On white
8.86
#1F4599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1F4599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4599
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4599 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4599; /* rgb */ color: rgb(31, 69, 153); /* oklch */ color: oklch(41.6% 0.144 263.2);
Tailwind
colors: {
custom: {
50: '#6f78b8',
500: '#1f4599',
950: '#000000',
},
}SCSS
$custom: #1f4599; $custom-light: #6f78b8; $custom-dark: #000000;
JSON
{
"hex": "#1f4599",
"rgb": {
"r": 31,
"g": 69,
"b": 153
},
"hsl": {
"h": 221.311,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.41561,
"c": 0.1445,
"h": 263.2
},
"luminance": 0.06847
}Semantic roles & 50–950 ramp
primary
#1F4599
secondary
#C09E54
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80