#1F1979#1F1979
#1F1979 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.154 H 274.8°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1979 |
|---|---|
| RGB | rgb(31, 25, 121) |
| HSL | hsl(244, 66%, 29%) |
| HSV | hsv(244, 79%, 47%) |
| CMYK | cmyk(74.4%, 79.3%, 0%, 52.5%) |
| CIE-LAB | lab(17.30, 35.47, -52.98) |
| CIE-LCH | lch(17.30, 63.75, 303.81°) |
| OKLab | oklab(30.25% 0.013 -0.1532) |
| OKLCH | oklch(30.25% 0.154 274.8) |
| XYZ | xyz(4.3628, 2.3666, 18.3123) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.65
Royal
#0C1793
ΔE00 3.99
Dark Royal Blue
#02066F
ΔE00 4.26
Deep Blue
#040273
ΔE00 4.65
Navy
#000080
ΔE00 4.83
Darkblue (survey)
#030764
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1979 #737919
analogous
#194379 #1F1979 #4F1979
triadic
#1F1979 #791F19 #19791F
tetradic
#1F1979 #791943 #737919 #19794F
square
#1F1979 #791943 #737919 #19794F
split-complementary
#1F1979 #794F19 #437919
monochromatic
#060519 #120F46 #1F1979 #2C23AC #4137D6
Accessibility & contrast
On white
14.25
#1F1979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1F1979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1979
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1979 | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1f1979; /* rgb */ color: rgb(31, 25, 121); /* oklch */ color: oklch(30.3% 0.154 274.8);
Tailwind
colors: {
custom: {
50: '#6a58a1',
500: '#1f1979',
950: '#000000',
},
}SCSS
$custom: #1f1979; $custom-light: #6a58a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1979",
"rgb": {
"r": 31,
"g": 25,
"b": 121
},
"hsl": {
"h": 243.75,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.3025,
"c": 0.15375,
"h": 274.8
},
"luminance": 0.02367
}Semantic roles & 50–950 ramp
primary
#1F1979
secondary
#A7AE40
accent
#E93FDE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F