#1F2079#1F2079
#1F2079 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.146 H 273.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2079 |
|---|---|
| RGB | rgb(31, 32, 121) |
| HSL | hsl(239, 59%, 30%) |
| HSV | hsv(239, 74%, 47%) |
| CMYK | cmyk(74.4%, 73.6%, 0%, 52.5%) |
| CIE-LAB | lab(18.82, 31.22, -50.48) |
| CIE-LCH | lch(18.82, 59.35, 301.74°) |
| OKLab | oklab(31.33% 0.009 -0.146) |
| OKLCH | oklch(31.33% 0.146 273.5) |
| XYZ | xyz(4.5316, 2.7044, 18.3686) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Royal
#0C1793
ΔE00 4.69
Dark Royal Blue
#02066F
ΔE00 5.88
Darkblue (survey)
#030764
ΔE00 6.31
Deep Blue
#040273
ΔE00 6.40
Navy
#000080
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2079 #79781F
analogous
#1F4D79 #1F2079 #4B1F79
triadic
#1F2079 #791F20 #20791F
tetradic
#1F2079 #791F4D #79781F #1F794B
square
#1F2079 #791F4D #79781F #1F794B
split-complementary
#1F2079 #794B1F #4D791F
monochromatic
#060618 #131348 #1F2079 #2B2DAA #4345CF
Accessibility & contrast
On white
13.63
#1F2079 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1F2079 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2079
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2079 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f2079; /* rgb */ color: rgb(31, 32, 121); /* oklch */ color: oklch(31.3% 0.146 273.5);
Tailwind
colors: {
custom: {
50: '#6a5ca1',
500: '#1f2079',
950: '#000000',
},
}SCSS
$custom: #1f2079; $custom-light: #6a5ca1; $custom-dark: #000000;
JSON
{
"hex": "#1f2079",
"rgb": {
"r": 31,
"g": 32,
"b": 121
},
"hsl": {
"h": 239.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.31326,
"c": 0.14625,
"h": 273.5
},
"luminance": 0.02705
}Semantic roles & 50–950 ramp
primary
#1F2079
secondary
#ACAB47
accent
#E145E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F