#1F2F75#1F2F75
#1F2F75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.122 H 269.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F75 |
|---|---|
| RGB | rgb(31, 47, 117) |
| HSL | hsl(229, 58%, 29%) |
| HSV | hsv(229, 74%, 46%) |
| CMYK | cmyk(73.5%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(22.33, 19.48, -42.17) |
| CIE-LCH | lch(22.33, 46.46, 294.80°) |
| OKLab | oklab(33.79% -0.0019 -0.1215) |
| OKLCH | oklch(33.79% 0.122 269.1) |
| XYZ | xyz(4.7914, 3.6082, 17.2701) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.19
Marine Blue
#01386A
ΔE00 6.72
Midnight Blue
#191970
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.56
Darkish Blue
#014182
ΔE00 7.84
Navy Blue
#1B2A4A
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F75 #75651F
analogous
#1F5A75 #1F2F75 #3A1F75
triadic
#1F2F75 #751F2F #2F751F
tetradic
#1F2F75 #751F5A #75651F #1F753A
square
#1F2F75 #751F5A #75651F #1F753A
split-complementary
#1F2F75 #753A1F #5A751F
monochromatic
#060A18 #121C45 #1F2F75 #2C42A5 #425BCD
Accessibility & contrast
On white
12.20
#1F2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1F2F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F75
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F75 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2f75; /* rgb */ color: rgb(31, 47, 117); /* oklch */ color: oklch(33.8% 0.122 269.1);
Tailwind
colors: {
custom: {
50: '#67679d',
500: '#1f2f75',
950: '#000000',
},
}SCSS
$custom: #1f2f75; $custom-light: #67679d; $custom-dark: #000000;
JSON
{
"hex": "#1f2f75",
"rgb": {
"r": 31,
"g": 47,
"b": 117
},
"hsl": {
"h": 228.837,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.33786,
"c": 0.12155,
"h": 269.1
},
"luminance": 0.03609
}Semantic roles & 50–950 ramp
primary
#1F2F75
secondary
#A99747
accent
#C546E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E