#1F509F#1F509F
#1F509F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.139 H 259.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F509F |
|---|---|
| RGB | rgb(31, 80, 159) |
| HSL | hsl(217, 67%, 37%) |
| HSV | hsv(217, 81%, 62%) |
| CMYK | cmyk(80.5%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.06, 13.47, -47.55) |
| CIE-LCH | lch(35.06, 49.42, 285.81°) |
| OKLab | oklab(44.45% -0.0249 -0.1367) |
| OKLCH | oklch(44.45% 0.139 259.7) |
| XYZ | xyz(9.6895, 8.5307, 33.9301) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.65
Cobalt (survey)
#1E488F
ΔE00 3.13
Sapphire
#0F52BA
ΔE00 3.38
Cobalt
#0047AB
ΔE00 3.47
Denim Blue
#3B5B92
ΔE00 4.45
Light Navy
#155084
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F509F #9F6E1F
analogous
#1F909F #1F509F #2E1F9F
triadic
#1F509F #9F1F50 #509F1F
tetradic
#1F509F #9F1F90 #9F6E1F #1F9F2E
square
#1F509F #9F1F90 #9F6E1F #1F9F2E
split-complementary
#1F509F #9F2E1F #909F1F
monochromatic
#0B1C39 #15366C #1F509F #296AD2 #5A8DDF
Accessibility & contrast
On white
7.76
#1F509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#1F509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F509F
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F509F | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f509f; /* rgb */ color: rgb(31, 80, 159); /* oklch */ color: oklch(44.5% 0.139 259.7);
Tailwind
colors: {
custom: {
50: '#7080bc',
500: '#1f509f',
950: '#000000',
},
}SCSS
$custom: #1f509f; $custom-light: #7080bc; $custom-dark: #000000;
JSON
{
"hex": "#1f509f",
"rgb": {
"r": 31,
"g": 80,
"b": 159
},
"hsl": {
"h": 217.031,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.44452,
"c": 0.13899,
"h": 259.7
},
"luminance": 0.08532
}Semantic roles & 50–950 ramp
primary
#1F509F
secondary
#C39A57
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81