#1F1673#1F1673
#1F1673 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.149 H 276.2°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1673 |
|---|---|
| RGB | rgb(31, 22, 115) |
| HSL | hsl(246, 68%, 27%) |
| HSV | hsv(246, 81%, 45%) |
| CMYK | cmyk(73%, 80.9%, 0%, 54.9%) |
| CIE-LAB | lab(16.02, 35.12, -51.24) |
| CIE-LCH | lch(16.02, 62.12, 304.43°) |
| OKLab | oklab(29.14% 0.016 -0.1481) |
| OKLCH | oklch(29.14% 0.149 276.2) |
| XYZ | xyz(3.9455, 2.1026, 16.4142) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.35
Dark Royal Blue
#02066F
ΔE00 3.59
Darkblue (survey)
#030764
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.08
Navy
#000080
ΔE00 4.66
Royal
#0C1793
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1673 #6A7316
analogous
#163C73 #1F1673 #4E1673
triadic
#1F1673 #731F16 #16731F
tetradic
#1F1673 #73163C #6A7316 #16734E
square
#1F1673 #73163C #6A7316 #16734E
split-complementary
#1F1673 #734E16 #3C7316
monochromatic
#07051A #110C40 #1F1673 #2D20A6 #3D2DD7
Accessibility & contrast
On white
14.78
#1F1673 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1F1673 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1673
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1673 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1673 | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f1673; /* rgb */ color: rgb(31, 22, 115); /* oklch */ color: oklch(29.1% 0.149 276.2);
Tailwind
colors: {
custom: {
50: '#69559c',
500: '#1f1673',
950: '#000000',
},
}SCSS
$custom: #1f1673; $custom-light: #69559c; $custom-dark: #000000;
JSON
{
"hex": "#1f1673",
"rgb": {
"r": 31,
"g": 22,
"b": 115
},
"hsl": {
"h": 245.806,
"s": 67.883,
"l": 26.863
},
"oklch": {
"l": 0.2914,
"c": 0.14899,
"h": 276.2
},
"luminance": 0.02103
}Semantic roles & 50–950 ramp
primary
#1F1673
secondary
#9EA93C
accent
#EB3DDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E