#1F4895#1F4895
#1F4895 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.135 H 261.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4895 |
|---|---|
| RGB | rgb(31, 72, 149) |
| HSL | hsl(219, 66%, 35%) |
| HSV | hsv(219, 79%, 58%) |
| CMYK | cmyk(79.2%, 51.7%, 0%, 41.6%) |
| CIE-LAB | lab(32.02, 14.88, -46.41) |
| CIE-LCH | lch(32.02, 48.74, 287.78°) |
| OKLab | oklab(41.9% -0.0199 -0.1336) |
| OKLCH | oklch(41.9% 0.135 261.5) |
| XYZ | xyz(8.3053, 7.0950, 29.3597) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.94
Cobalt
#0047AB
ΔE00 2.98
Darkish Blue
#014182
ΔE00 3.85
Dusk Blue
#26538D
ΔE00 4.19
Twilight Blue
#0A437A
ΔE00 4.59
Light Navy
#155084
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4895 #956C1F
analogous
#1F8395 #1F4895 #311F95
triadic
#1F4895 #951F48 #48951F
tetradic
#1F4895 #951F83 #956C1F #1F9531
square
#1F4895 #951F83 #956C1F #1F9531
split-complementary
#1F4895 #95311F #83951F
monochromatic
#0A1730 #143062 #1F4895 #2A60C8 #5382DB
Accessibility & contrast
On white
8.68
#1F4895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1F4895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4895
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4895 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175198
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4895; /* rgb */ color: rgb(31, 72, 149); /* oklch */ color: oklch(41.9% 0.135 261.5);
Tailwind
colors: {
custom: {
50: '#6e7ab5',
500: '#1f4895',
950: '#000000',
},
}SCSS
$custom: #1f4895; $custom-light: #6e7ab5; $custom-dark: #000000;
JSON
{
"hex": "#1f4895",
"rgb": {
"r": 31,
"g": 72,
"b": 149
},
"hsl": {
"h": 219.153,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.41899,
"c": 0.13503,
"h": 261.5
},
"luminance": 0.07096
}Semantic roles & 50–950 ramp
primary
#1F4895
secondary
#BF9951
accent
#AE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80