#1F2F73#1F2F73
#1F2F73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.119 H 269.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F73 |
|---|---|
| RGB | rgb(31, 47, 115) |
| HSL | hsl(229, 58%, 29%) |
| HSV | hsv(229, 73%, 45%) |
| CMYK | cmyk(73%, 59.1%, 0%, 54.9%) |
| CIE-LAB | lab(22.17, 18.69, -41.16) |
| CIE-LCH | lch(22.17, 45.21, 294.42°) |
| OKLab | oklab(33.61% -0.002 -0.1186) |
| OKLCH | oklch(33.61% 0.119 269) |
| XYZ | xyz(4.6750, 3.5617, 16.6574) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.95
Marine Blue
#01386A
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.86
Navy Blue
#1B2A4A
ΔE00 7.69
Darkslateblue
#483D8B
ΔE00 7.72
Darkish Blue
#014182
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F73 #73631F
analogous
#1F5973 #1F2F73 #391F73
triadic
#1F2F73 #731F2F #2F731F
tetradic
#1F2F73 #731F59 #73631F #1F7339
square
#1F2F73 #731F59 #73631F #1F7339
split-complementary
#1F2F73 #73391F #59731F
monochromatic
#060A18 #121B43 #1F2F73 #2C43A3 #415BCC
Accessibility & contrast
On white
12.26
#1F2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1F2F73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F73
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F73 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2f73; /* rgb */ color: rgb(31, 47, 115); /* oklch */ color: oklch(33.6% 0.119 269.0);
Tailwind
colors: {
custom: {
50: '#67679c',
500: '#1f2f73',
950: '#000000',
},
}SCSS
$custom: #1f2f73; $custom-light: #67679c; $custom-dark: #000000;
JSON
{
"hex": "#1f2f73",
"rgb": {
"r": 31,
"g": 47,
"b": 115
},
"hsl": {
"h": 228.571,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.3361,
"c": 0.11859,
"h": 269
},
"luminance": 0.03562
}Semantic roles & 50–950 ramp
primary
#1F2F73
secondary
#A79547
accent
#C347E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E