#1F1180#1F1180
#1F1180 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.169 H 274.8°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1180 |
|---|---|
| RGB | rgb(31, 17, 128) |
| HSL | hsl(248, 77%, 28%) |
| HSV | hsv(248, 87%, 50%) |
| CMYK | cmyk(75.8%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(16.75, 41.85, -58.36) |
| CIE-LCH | lch(16.75, 71.81, 305.64°) |
| OKLab | oklab(30.11% 0.0142 -0.1687) |
| OKLCH | oklch(30.11% 0.169 274.8) |
| XYZ | xyz(4.6605, 2.2503, 20.6066) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.10
Royal
#0C1793
ΔE00 3.12
Darkblue
#00008B
ΔE00 3.17
Midnight Blue
#191970
ΔE00 3.51
Deep Blue
#040273
ΔE00 3.56
Dark Royal Blue
#02066F
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1180 #728011
analogous
#113A80 #1F1180 #561180
triadic
#1F1180 #801F11 #11801F
tetradic
#1F1180 #80113A #728011 #118056
square
#1F1180 #80113A #728011 #118056
split-complementary
#1F1180 #805611 #3A8011
monochromatic
#07041B #120A4A #1F1180 #2C18B6 #4029E3
Accessibility & contrast
On white
14.48
#1F1180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1F1180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1180
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1180 | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1180; /* rgb */ color: rgb(31, 17, 128); /* oklch */ color: oklch(30.1% 0.169 274.8);
Tailwind
colors: {
custom: {
50: '#6d54a6',
500: '#1f1180',
950: '#000000',
},
}SCSS
$custom: #1f1180; $custom-light: #6d54a6; $custom-dark: #000000;
JSON
{
"hex": "#1f1180",
"rgb": {
"r": 31,
"g": 17,
"b": 128
},
"hsl": {
"h": 247.568,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.30111,
"c": 0.16931,
"h": 274.8
},
"luminance": 0.02251
}Semantic roles & 50–950 ramp
primary
#1F1180
secondary
#A6B637
accent
#F335DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F