#1F1E79#1F1E79
#1F1E79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.148 H 274.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1E79 |
|---|---|
| RGB | rgb(31, 30, 121) |
| HSL | hsl(241, 60%, 30%) |
| HSV | hsv(241, 75%, 47%) |
| CMYK | cmyk(74.4%, 75.2%, 0%, 52.5%) |
| CIE-LAB | lab(18.36, 32.48, -51.23) |
| CIE-LCH | lch(18.36, 60.66, 302.38°) |
| OKLab | oklab(31% 0.0102 -0.1481) |
| OKLCH | oklch(31% 0.149 274) |
| XYZ | xyz(4.4794, 2.5999, 18.3512) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.78
Royal
#0C1793
ΔE00 4.41
Dark Royal Blue
#02066F
ΔE00 5.37
Deep Blue
#040273
ΔE00 5.86
Darkblue (survey)
#030764
ΔE00 5.87
Navy
#000080
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1E79 #78791E
analogous
#1E4B79 #1F1E79 #4C1E79
triadic
#1F1E79 #791F1E #1E791F
tetradic
#1F1E79 #791E4B #78791E #1E794C
square
#1F1E79 #791E4B #78791E #1E794C
split-complementary
#1F1E79 #794C1E #4B791E
monochromatic
#060619 #121248 #1F1E79 #2C2AAA #4341D0
Accessibility & contrast
On white
13.82
#1F1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1F1E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1E79
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1E79 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f1e79; /* rgb */ color: rgb(31, 30, 121); /* oklch */ color: oklch(31.0% 0.148 274.0);
Tailwind
colors: {
custom: {
50: '#6a5ba1',
500: '#1f1e79',
950: '#000000',
},
}SCSS
$custom: #1f1e79; $custom-light: #6a5ba1; $custom-dark: #000000;
JSON
{
"hex": "#1f1e79",
"rgb": {
"r": 31,
"g": 30,
"b": 121
},
"hsl": {
"h": 240.659,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.31001,
"c": 0.1485,
"h": 274
},
"luminance": 0.026
}Semantic roles & 50–950 ramp
primary
#1F1E79
secondary
#ABAD46
accent
#E344E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F