#1F4595#1F4595
#1F4595 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.139 H 262.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4595 |
|---|---|
| RGB | rgb(31, 69, 149) |
| HSL | hsl(221, 66%, 35%) |
| HSV | hsv(221, 79%, 58%) |
| CMYK | cmyk(79.2%, 53.7%, 0%, 41.6%) |
| CIE-LAB | lab(31.15, 16.93, -47.82) |
| CIE-LCH | lch(31.15, 50.73, 289.50°) |
| OKLab | oklab(41.24% -0.0175 -0.1378) |
| OKLCH | oklch(41.24% 0.139 262.8) |
| XYZ | xyz(8.1161, 6.7165, 29.2966) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.71
Cobalt
#0047AB
ΔE00 3.02
Darkish Blue
#014182
ΔE00 3.90
Twilight Blue
#0A437A
ΔE00 4.85
Dusk Blue
#26538D
ΔE00 5.26
Sapphire
#0F52BA
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4595 #956F1F
analogous
#1F8095 #1F4595 #341F95
triadic
#1F4595 #951F45 #45951F
tetradic
#1F4595 #951F80 #956F1F #1F9534
square
#1F4595 #951F80 #956F1F #1F9534
split-complementary
#1F4595 #95341F #80951F
monochromatic
#0A1630 #142E62 #1F4595 #2A5CC8 #537FDB
Accessibility & contrast
On white
8.96
#1F4595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#1F4595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4595
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4595 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4595; /* rgb */ color: rgb(31, 69, 149); /* oklch */ color: oklch(41.2% 0.139 262.8);
Tailwind
colors: {
custom: {
50: '#6e78b5',
500: '#1f4595',
950: '#000000',
},
}SCSS
$custom: #1f4595; $custom-light: #6e78b5; $custom-dark: #000000;
JSON
{
"hex": "#1f4595",
"rgb": {
"r": 31,
"g": 69,
"b": 149
},
"hsl": {
"h": 220.678,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.41236,
"c": 0.13887,
"h": 262.8
},
"luminance": 0.06717
}Semantic roles & 50–950 ramp
primary
#1F4595
secondary
#BF9B51
accent
#B23FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80