#1F2F74#1F2F74
#1F2F74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.120 H 269.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F74 |
|---|---|
| RGB | rgb(31, 47, 116) |
| HSL | hsl(229, 58%, 29%) |
| HSV | hsv(229, 73%, 45%) |
| CMYK | cmyk(73.3%, 59.5%, 0%, 54.5%) |
| CIE-LAB | lab(22.25, 19.09, -41.67) |
| CIE-LCH | lch(22.25, 45.83, 294.61°) |
| OKLab | oklab(33.7% -0.0019 -0.1201) |
| OKLCH | oklch(33.7% 0.12 269.1) |
| XYZ | xyz(4.7329, 3.5848, 16.9621) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.07
Marine Blue
#01386A
ΔE00 6.66
Midnight Blue
#191970
ΔE00 6.80
Darkslateblue
#483D8B
ΔE00 7.64
Darkish Blue
#014182
ΔE00 7.84
Navy Blue
#1B2A4A
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F74 #74641F
analogous
#1F5A74 #1F2F74 #3A1F74
triadic
#1F2F74 #741F2F #2F741F
tetradic
#1F2F74 #741F5A #74641F #1F743A
square
#1F2F74 #741F5A #74641F #1F743A
split-complementary
#1F2F74 #743A1F #5A741F
monochromatic
#060A18 #121B44 #1F2F74 #2C43A4 #415BCC
Accessibility & contrast
On white
12.23
#1F2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1F2F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F74
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F74 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2f74; /* rgb */ color: rgb(31, 47, 116); /* oklch */ color: oklch(33.7% 0.120 269.1);
Tailwind
colors: {
custom: {
50: '#67679d',
500: '#1f2f74',
950: '#000000',
},
}SCSS
$custom: #1f2f74; $custom-light: #67679d; $custom-dark: #000000;
JSON
{
"hex": "#1f2f74",
"rgb": {
"r": 31,
"g": 47,
"b": 116
},
"hsl": {
"h": 228.706,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.33698,
"c": 0.12008,
"h": 269.1
},
"luminance": 0.03585
}Semantic roles & 50–950 ramp
primary
#1F2F74
secondary
#A89647
accent
#C447E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E