#1F50A1#1F50A1
#1F50A1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.142 H 260.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F50A1 |
|---|---|
| RGB | rgb(31, 80, 161) |
| HSL | hsl(217, 68%, 38%) |
| HSV | hsv(217, 81%, 63%) |
| CMYK | cmyk(80.7%, 50.3%, 0%, 36.9%) |
| CIE-LAB | lab(35.20, 14.26, -48.53) |
| CIE-LCH | lch(35.20, 50.58, 286.38°) |
| OKLab | oklab(44.6% -0.0246 -0.1396) |
| OKLCH | oklch(44.6% 0.142 260) |
| XYZ | xyz(9.8644, 8.6007, 34.8515) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 3.13
Cobalt (survey)
#1E488F
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 4.52
Light Navy
#155084
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F50A1 #A1701F
analogous
#1F91A1 #1F50A1 #2F1FA1
triadic
#1F50A1 #A11F50 #50A11F
tetradic
#1F50A1 #A11F91 #A1701F #1FA12F
square
#1F50A1 #A11F91 #A1701F #1FA12F
split-complementary
#1F50A1 #A12F1F #91A11F
monochromatic
#0B1D3A #15366E #1F50A1 #2969D4 #5B8DDF
Accessibility & contrast
On white
7.72
#1F50A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#1F50A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F50A1
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F50A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F50A1 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f50a1; /* rgb */ color: rgb(31, 80, 161); /* oklch */ color: oklch(44.6% 0.142 260.0);
Tailwind
colors: {
custom: {
50: '#7080bd',
500: '#1f50a1',
950: '#000000',
},
}SCSS
$custom: #1f50a1; $custom-light: #7080bd; $custom-dark: #000000;
JSON
{
"hex": "#1f50a1",
"rgb": {
"r": 31,
"g": 80,
"b": 161
},
"hsl": {
"h": 217.385,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.44604,
"c": 0.14177,
"h": 260
},
"luminance": 0.08602
}Semantic roles & 50–950 ramp
primary
#1F50A1
secondary
#C49B58
accent
#A93DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81