#1F2573#1F2573
#1F2573 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.132 H 272.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2573 |
|---|---|
| RGB | rgb(31, 37, 115) |
| HSL | hsl(236, 58%, 29%) |
| HSV | hsv(236, 73%, 45%) |
| CMYK | cmyk(73%, 67.8%, 0%, 54.9%) |
| CIE-LAB | lab(19.44, 25.68, -45.61) |
| CIE-LCH | lch(19.44, 52.34, 299.38°) |
| OKLab | oklab(31.59% 0.0063 -0.1317) |
| OKLCH | oklch(31.59% 0.132 272.7) |
| XYZ | xyz(4.3201, 2.8518, 16.5391) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.39
Royal
#0C1793
ΔE00 6.57
Marine
#042E60
ΔE00 7.43
Dark Royal Blue
#02066F
ΔE00 7.49
Darkblue (survey)
#030764
ΔE00 7.53
Deep Blue
#040273
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2573 #736D1F
analogous
#1F4F73 #1F2573 #431F73
triadic
#1F2573 #731F25 #25731F
tetradic
#1F2573 #731F4F #736D1F #1F7343
square
#1F2573 #731F4F #736D1F #1F7343
split-complementary
#1F2573 #73431F #4F731F
monochromatic
#060818 #121543 #1F2573 #2C35A3 #414BCC
Accessibility & contrast
On white
13.37
#1F2573 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1F2573 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2573
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2573 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2573 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f2573; /* rgb */ color: rgb(31, 37, 115); /* oklch */ color: oklch(31.6% 0.132 272.7);
Tailwind
colors: {
custom: {
50: '#685f9c',
500: '#1f2573',
950: '#000000',
},
}SCSS
$custom: #1f2573; $custom-light: #685f9c; $custom-dark: #000000;
JSON
{
"hex": "#1f2573",
"rgb": {
"r": 31,
"g": 37,
"b": 115
},
"hsl": {
"h": 235.714,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.31593,
"c": 0.13188,
"h": 272.7
},
"luminance": 0.02852
}Semantic roles & 50–950 ramp
primary
#1F2573
secondary
#A7A047
accent
#D647E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E