#1F5096#1F5096
#1F5096 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.126 H 258.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5096 |
|---|---|
| RGB | rgb(31, 80, 150) |
| HSL | hsl(215, 66%, 35%) |
| HSV | hsv(215, 79%, 59%) |
| CMYK | cmyk(79.3%, 46.7%, 0%, 41.2%) |
| CIE-LAB | lab(34.46, 9.88, -43.10) |
| CIE-LCH | lch(34.46, 44.22, 282.91°) |
| OKLab | oklab(43.79% -0.0264 -0.1236) |
| OKLCH | oklch(43.79% 0.126 258) |
| XYZ | xyz(8.9367, 8.2296, 29.9657) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.60
Cobalt (survey)
#1E488F
ΔE00 2.81
Light Navy
#155084
ΔE00 3.36
Light Navy Blue
#2E5A88
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.29
Denim Blue
#3B5B92
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5096 #96651F
analogous
#1F8B96 #1F5096 #291F96
triadic
#1F5096 #961F50 #50961F
tetradic
#1F5096 #961F8B #96651F #1F9629
square
#1F5096 #961F8B #96651F #1F9629
split-complementary
#1F5096 #96291F #8B961F
monochromatic
#0A1A31 #153563 #1F5096 #296BC9 #548CDC
Accessibility & contrast
On white
7.94
#1F5096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#1F5096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5096
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5096 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#0E4C95
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f5096; /* rgb */ color: rgb(31, 80, 150); /* oklch */ color: oklch(43.8% 0.126 258.0);
Tailwind
colors: {
custom: {
50: '#6e80b5',
500: '#1f5096',
950: '#000000',
},
}SCSS
$custom: #1f5096; $custom-light: #6e80b5; $custom-dark: #000000;
JSON
{
"hex": "#1f5096",
"rgb": {
"r": 31,
"g": 80,
"b": 150
},
"hsl": {
"h": 215.294,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.4379,
"c": 0.12643,
"h": 258
},
"luminance": 0.08231
}Semantic roles & 50–950 ramp
primary
#1F5096
secondary
#BF9252
accent
#A33FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80