#1F2279#1F2279
#1F2279 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.144 H 273.1°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2279 |
|---|---|
| RGB | rgb(31, 34, 121) |
| HSL | hsl(238, 59%, 30%) |
| HSV | hsv(238, 74%, 47%) |
| CMYK | cmyk(74.4%, 71.9%, 0%, 52.5%) |
| CIE-LAB | lab(19.29, 29.93, -49.70) |
| CIE-LCH | lch(19.29, 58.02, 301.06°) |
| OKLab | oklab(31.66% 0.0078 -0.1437) |
| OKLCH | oklch(31.66% 0.144 273.1) |
| XYZ | xyz(4.5871, 2.8154, 18.3871) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 5.03
Dark Royal Blue
#02066F
ΔE00 6.42
Darkblue (survey)
#030764
ΔE00 6.79
Deep Blue
#040273
ΔE00 6.96
Navy
#000080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2279 #79761F
analogous
#1F4F79 #1F2279 #491F79
triadic
#1F2279 #791F22 #22791F
tetradic
#1F2279 #791F4F #79761F #1F7949
square
#1F2279 #791F4F #79761F #1F7949
split-complementary
#1F2279 #79491F #4F791F
monochromatic
#060718 #131448 #1F2279 #2B30AA #4348CF
Accessibility & contrast
On white
13.43
#1F2279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1F2279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2279
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2279 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f2279; /* rgb */ color: rgb(31, 34, 121); /* oklch */ color: oklch(31.7% 0.144 273.1);
Tailwind
colors: {
custom: {
50: '#6a5da1',
500: '#1f2279',
950: '#000000',
},
}SCSS
$custom: #1f2279; $custom-light: #6a5da1; $custom-dark: #000000;
JSON
{
"hex": "#1f2279",
"rgb": {
"r": 31,
"g": 34,
"b": 121
},
"hsl": {
"h": 238,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.31664,
"c": 0.14393,
"h": 273.1
},
"luminance": 0.02816
}Semantic roles & 50–950 ramp
primary
#1F2279
secondary
#ACA947
accent
#DD45E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F