#1F509D#1F509D
#1F509D is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.136 H 259.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F509D |
|---|---|
| RGB | rgb(31, 80, 157) |
| HSL | hsl(217, 67%, 37%) |
| HSV | hsv(217, 80%, 62%) |
| CMYK | cmyk(80.3%, 49%, 0%, 38.4%) |
| CIE-LAB | lab(34.93, 12.67, -46.57) |
| CIE-LCH | lch(34.93, 48.26, 285.22°) |
| OKLab | oklab(44.3% -0.0252 -0.1339) |
| OKLCH | oklch(44.3% 0.136 259.4) |
| XYZ | xyz(9.5173, 8.4618, 33.0234) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.41
Cobalt (survey)
#1E488F
ΔE00 3.01
Sapphire
#0F52BA
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.64
Light Navy
#155084
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F509D #9D6C1F
analogous
#1F8F9D #1F509D #2D1F9D
triadic
#1F509D #9D1F50 #509D1F
tetradic
#1F509D #9D1F8F #9D6C1F #1F9D2D
square
#1F509D #9D1F8F #9D6C1F #1F9D2D
split-complementary
#1F509D #9D2D1F #8F9D1F
monochromatic
#0B1C37 #15366A #1F509D #296AD0 #588CDE
Accessibility & contrast
On white
7.80
#1F509D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#1F509D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F509D
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F509D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F509D | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f509d; /* rgb */ color: rgb(31, 80, 157); /* oklch */ color: oklch(44.3% 0.136 259.4);
Tailwind
colors: {
custom: {
50: '#6f80ba',
500: '#1f509d',
950: '#000000',
},
}SCSS
$custom: #1f509d; $custom-light: #6f80ba; $custom-dark: #000000;
JSON
{
"hex": "#1f509d",
"rgb": {
"r": 31,
"g": 80,
"b": 157
},
"hsl": {
"h": 216.667,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.44303,
"c": 0.13621,
"h": 259.4
},
"luminance": 0.08463
}Semantic roles & 50–950 ramp
primary
#1F509D
secondary
#C29856
accent
#A73EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81