#1F5097#1F5097
#1F5097 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.128 H 258.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5097 |
|---|---|
| RGB | rgb(31, 80, 151) |
| HSL | hsl(216, 66%, 36%) |
| HSV | hsv(216, 79%, 59%) |
| CMYK | cmyk(79.5%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(34.52, 10.28, -43.60) |
| CIE-LCH | lch(34.52, 44.79, 283.26°) |
| OKLab | oklab(43.86% -0.0262 -0.1251) |
| OKLCH | oklch(43.86% 0.128 258.2) |
| XYZ | xyz(9.0176, 8.2619, 30.3916) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.71
Cobalt (survey)
#1E488F
ΔE00 2.82
Light Navy
#155084
ΔE00 3.48
Light Navy Blue
#2E5A88
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.19
Denim Blue
#3B5B92
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5097 #97661F
analogous
#1F8C97 #1F5097 #2A1F97
triadic
#1F5097 #971F50 #50971F
tetradic
#1F5097 #971F8C #97661F #1F972A
square
#1F5097 #971F8C #97661F #1F972A
split-complementary
#1F5097 #972A1F #8C971F
monochromatic
#0A1A31 #153564 #1F5097 #296BCA #548CDC
Accessibility & contrast
On white
7.92
#1F5097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#1F5097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5097
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5097 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#0C4C96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f5097; /* rgb */ color: rgb(31, 80, 151); /* oklch */ color: oklch(43.9% 0.128 258.2);
Tailwind
colors: {
custom: {
50: '#6e80b6',
500: '#1f5097',
950: '#000000',
},
}SCSS
$custom: #1f5097; $custom-light: #6e80b6; $custom-dark: #000000;
JSON
{
"hex": "#1f5097",
"rgb": {
"r": 31,
"g": 80,
"b": 151
},
"hsl": {
"h": 215.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.43862,
"c": 0.12783,
"h": 258.2
},
"luminance": 0.08263
}Semantic roles & 50–950 ramp
primary
#1F5097
secondary
#BF9352
accent
#A33FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80