#1F5099#1F5099
#1F5099 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.131 H 258.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5099 |
|---|---|
| RGB | rgb(31, 80, 153) |
| HSL | hsl(216, 66%, 36%) |
| HSV | hsv(216, 80%, 60%) |
| CMYK | cmyk(79.7%, 47.7%, 0%, 40%) |
| CIE-LAB | lab(34.66, 11.07, -44.59) |
| CIE-LCH | lch(34.66, 45.95, 283.95°) |
| OKLab | oklab(44.01% -0.0258 -0.128) |
| OKLCH | oklch(44.01% 0.131 258.6) |
| XYZ | xyz(9.1814, 8.3275, 31.2543) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.93
Cobalt (survey)
#1E488F
ΔE00 2.85
Light Navy
#155084
ΔE00 3.72
Cobalt
#0047AB
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.14
Light Navy Blue
#2E5A88
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5099 #99681F
analogous
#1F8D99 #1F5099 #2B1F99
triadic
#1F5099 #991F50 #50991F
tetradic
#1F5099 #991F8D #99681F #1F992B
square
#1F5099 #991F8D #99681F #1F992B
split-complementary
#1F5099 #992B1F #8D991F
monochromatic
#0A1B33 #153566 #1F5099 #296BCC #568CDD
Accessibility & contrast
On white
7.88
#1F5099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#1F5099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5099
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5099 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#054C98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f5099; /* rgb */ color: rgb(31, 80, 153); /* oklch */ color: oklch(44.0% 0.131 258.6);
Tailwind
colors: {
custom: {
50: '#6e80b7',
500: '#1f5099',
950: '#000000',
},
}SCSS
$custom: #1f5099; $custom-light: #6e80b7; $custom-dark: #000000;
JSON
{
"hex": "#1f5099",
"rgb": {
"r": 31,
"g": 80,
"b": 153
},
"hsl": {
"h": 215.902,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.44007,
"c": 0.13063,
"h": 258.6
},
"luminance": 0.08329
}Semantic roles & 50–950 ramp
primary
#1F5099
secondary
#C09554
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80