#1F539F#1F539F
#1F539F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.135 H 258.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F539F |
|---|---|
| RGB | rgb(31, 83, 159) |
| HSL | hsl(216, 67%, 37%) |
| HSV | hsv(216, 81%, 62%) |
| CMYK | cmyk(80.5%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(35.95, 11.46, -46.13) |
| CIE-LCH | lch(35.95, 47.53, 283.95°) |
| OKLab | oklab(45.13% -0.0273 -0.1325) |
| OKLCH | oklch(45.13% 0.135 258.4) |
| XYZ | xyz(9.9140, 8.9798, 34.0049) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.21
Sapphire
#0F52BA
ΔE00 3.46
Denim Blue
#3B5B92
ΔE00 3.87
Light Navy Blue
#2E5A88
ΔE00 3.90
Cobalt (survey)
#1E488F
ΔE00 4.01
Light Navy
#155084
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F539F #9F6B1F
analogous
#1F939F #1F539F #2B1F9F
triadic
#1F539F #9F1F53 #539F1F
tetradic
#1F539F #9F1F93 #9F6B1F #1F9F2B
square
#1F539F #9F1F93 #9F6B1F #1F9F2B
split-complementary
#1F539F #9F2B1F #939F1F
monochromatic
#0B1E39 #15386C #1F539F #296ED2 #5A90DF
Accessibility & contrast
On white
7.51
#1F539F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#1F539F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F539F
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F539F | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #1f539f; /* rgb */ color: rgb(31, 83, 159); /* oklch */ color: oklch(45.1% 0.135 258.4);
Tailwind
colors: {
custom: {
50: '#7082bc',
500: '#1f539f',
950: '#000000',
},
}SCSS
$custom: #1f539f; $custom-light: #7082bc; $custom-dark: #000000;
JSON
{
"hex": "#1f539f",
"rgb": {
"r": 31,
"g": 83,
"b": 159
},
"hsl": {
"h": 215.625,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.4513,
"c": 0.13529,
"h": 258.4
},
"luminance": 0.08981
}Semantic roles & 50–950 ramp
primary
#1F539F
secondary
#C39757
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81