#1F2073#1F2073
#1F2073 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.138 H 274.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2073 |
|---|---|
| RGB | rgb(31, 32, 115) |
| HSL | hsl(239, 58%, 29%) |
| HSV | hsv(239, 73%, 45%) |
| CMYK | cmyk(73%, 72.2%, 0%, 54.9%) |
| CIE-LAB | lab(18.20, 29.03, -47.65) |
| CIE-LCH | lch(18.20, 55.79, 301.35°) |
| OKLab | oklab(30.69% 0.0099 -0.1377) |
| OKLCH | oklch(30.69% 0.138 274.1) |
| XYZ | xyz(4.1751, 2.5617, 16.4908) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.87
Royal
#0C1793
ΔE00 5.65
Dark Royal Blue
#02066F
ΔE00 5.99
Darkblue (survey)
#030764
ΔE00 6.13
Deep Blue
#040273
ΔE00 6.62
Navy
#000080
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2073 #73721F
analogous
#1F4A73 #1F2073 #481F73
triadic
#1F2073 #731F20 #20731F
tetradic
#1F2073 #731F4A #73721F #1F7348
square
#1F2073 #731F4A #73721F #1F7348
split-complementary
#1F2073 #73481F #4A731F
monochromatic
#060718 #121343 #1F2073 #2C2DA3 #4142CC
Accessibility & contrast
On white
13.89
#1F2073 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1F2073 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2073
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2073 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2073 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1f2073; /* rgb */ color: rgb(31, 32, 115); /* oklch */ color: oklch(30.7% 0.138 274.1);
Tailwind
colors: {
custom: {
50: '#685c9c',
500: '#1f2073',
950: '#000000',
},
}SCSS
$custom: #1f2073; $custom-light: #685c9c; $custom-dark: #000000;
JSON
{
"hex": "#1f2073",
"rgb": {
"r": 31,
"g": 32,
"b": 115
},
"hsl": {
"h": 239.286,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.30689,
"c": 0.13808,
"h": 274.1
},
"luminance": 0.02562
}Semantic roles & 50–950 ramp
primary
#1F2073
secondary
#A7A647
accent
#DF47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E