#1F1975#1F1975
#1F1975 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.149 H 275.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1975 |
|---|---|
| RGB | rgb(31, 25, 117) |
| HSL | hsl(244, 65%, 28%) |
| HSV | hsv(244, 79%, 46%) |
| CMYK | cmyk(73.5%, 78.6%, 0%, 54.1%) |
| CIE-LAB | lab(16.85, 34.09, -51.16) |
| CIE-LCH | lch(16.85, 61.48, 303.68°) |
| OKLab | oklab(29.79% 0.0139 -0.1479) |
| OKLCH | oklch(29.79% 0.149 275.4) |
| XYZ | xyz(4.1225, 2.2705, 17.0472) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.10
Dark Royal Blue
#02066F
ΔE00 4.20
Royal
#0C1793
ΔE00 4.62
Darkblue (survey)
#030764
ΔE00 4.67
Deep Blue
#040273
ΔE00 4.69
Navy
#000080
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1975 #6F7519
analogous
#194175 #1F1975 #4D1975
triadic
#1F1975 #751F19 #19751F
tetradic
#1F1975 #751941 #6F7519 #19754D
square
#1F1975 #751941 #6F7519 #19754D
split-complementary
#1F1975 #754D19 #417519
monochromatic
#070519 #120E43 #1F1975 #2C24A7 #3F35D4
Accessibility & contrast
On white
14.44
#1F1975 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1F1975 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1975
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1975 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1975 | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1975; /* rgb */ color: rgb(31, 25, 117); /* oklch */ color: oklch(29.8% 0.149 275.4);
Tailwind
colors: {
custom: {
50: '#69579e',
500: '#1f1975',
950: '#000000',
},
}SCSS
$custom: #1f1975; $custom-light: #69579e; $custom-dark: #000000;
JSON
{
"hex": "#1f1975",
"rgb": {
"r": 31,
"g": 25,
"b": 117
},
"hsl": {
"h": 243.913,
"s": 64.789,
"l": 27.843
},
"oklch": {
"l": 0.29792,
"c": 0.14857,
"h": 275.4
},
"luminance": 0.02271
}Semantic roles & 50–950 ramp
primary
#1F1975
secondary
#A3AA40
accent
#E840DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E