#1F1680#1F1680
#1F1680 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 274.3°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1680 |
|---|---|
| RGB | rgb(31, 22, 128) |
| HSL | hsl(245, 71%, 29%) |
| HSV | hsv(245, 83%, 50%) |
| CMYK | cmyk(75.8%, 82.8%, 0%, 49.8%) |
| CIE-LAB | lab(17.57, 39.44, -57.01) |
| CIE-LCH | lch(17.57, 69.32, 304.68°) |
| OKLab | oklab(30.68% 0.0125 -0.1649) |
| OKLCH | oklch(30.68% 0.165 274.3) |
| XYZ | xyz(4.7470, 2.4232, 20.6354) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.90
Midnight Blue
#191970
ΔE00 2.94
Navy
#000080
ΔE00 3.95
Darkblue
#00008B
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1680 #778016
analogous
#164280 #1F1680 #541680
triadic
#1F1680 #801F16 #16801F
tetradic
#1F1680 #801642 #778016 #168054
square
#1F1680 #801642 #778016 #168054
split-complementary
#1F1680 #805416 #428016
monochromatic
#06041A #120D4C #1F1680 #2C1FB4 #4334DC
Accessibility & contrast
On white
14.14
#1F1680 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1F1680 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1680
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1680 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1680 | 1.00 | 14.14 | 1.48 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1f1680; /* rgb */ color: rgb(31, 22, 128); /* oklch */ color: oklch(30.7% 0.165 274.3);
Tailwind
colors: {
custom: {
50: '#6d56a6',
500: '#1f1680',
950: '#000000',
},
}SCSS
$custom: #1f1680; $custom-light: #6d56a6; $custom-dark: #000000;
JSON
{
"hex": "#1f1680",
"rgb": {
"r": 31,
"g": 22,
"b": 128
},
"hsl": {
"h": 245.094,
"s": 70.667,
"l": 29.412
},
"oklch": {
"l": 0.30677,
"c": 0.16534,
"h": 274.3
},
"luminance": 0.02424
}Semantic roles & 50–950 ramp
primary
#1F1680
secondary
#ABB53D
accent
#ED3ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F