#1F1B73#1F1B73
#1F1B73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.144 H 275.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1B73 |
|---|---|
| RGB | rgb(31, 27, 115) |
| HSL | hsl(243, 62%, 28%) |
| HSV | hsv(243, 77%, 45%) |
| CMYK | cmyk(73%, 76.5%, 0%, 54.9%) |
| CIE-LAB | lab(17.05, 32.19, -49.54) |
| CIE-LCH | lch(17.05, 59.08, 303.02°) |
| OKLab | oklab(29.87% 0.0132 -0.1432) |
| OKLCH | oklch(29.87% 0.144 275.3) |
| XYZ | xyz(4.0505, 2.3126, 16.4492) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.84
Dark Royal Blue
#02066F
ΔE00 4.67
Darkblue (survey)
#030764
ΔE00 4.95
Royal
#0C1793
ΔE00 5.08
Deep Blue
#040273
ΔE00 5.25
Navy
#000080
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1B73 #6F731B
analogous
#1B4373 #1F1B73 #4B1B73
triadic
#1F1B73 #731F1B #1B731F
tetradic
#1F1B73 #731B43 #6F731B #1B734B
square
#1F1B73 #731B43 #6F731B #1B734B
split-complementary
#1F1B73 #734B1B #43731B
monochromatic
#070619 #120F41 #1F1B73 #2C27A5 #3F38D0
Accessibility & contrast
On white
14.36
#1F1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1F1B73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1B73
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1B73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1B73 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1b73; /* rgb */ color: rgb(31, 27, 115); /* oklch */ color: oklch(29.9% 0.144 275.3);
Tailwind
colors: {
custom: {
50: '#69599c',
500: '#1f1b73',
950: '#000000',
},
}SCSS
$custom: #1f1b73; $custom-light: #69599c; $custom-dark: #000000;
JSON
{
"hex": "#1f1b73",
"rgb": {
"r": 31,
"g": 27,
"b": 115
},
"hsl": {
"h": 242.727,
"s": 61.972,
"l": 27.843
},
"oklch": {
"l": 0.29869,
"c": 0.14381,
"h": 275.3
},
"luminance": 0.02313
}Semantic roles & 50–950 ramp
primary
#1F1B73
secondary
#A3A842
accent
#E543DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E