#1F2D75#1F2D75
#1F2D75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.124 H 269.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D75 |
|---|---|
| RGB | rgb(31, 45, 117) |
| HSL | hsl(230, 58%, 29%) |
| HSV | hsv(230, 74%, 46%) |
| CMYK | cmyk(73.5%, 61.5%, 0%, 54.1%) |
| CIE-LAB | lab(21.77, 20.89, -43.09) |
| CIE-LCH | lch(21.77, 47.88, 295.87°) |
| OKLab | oklab(33.37% -0.0002 -0.1242) |
| OKLCH | oklch(33.37% 0.124 269.9) |
| XYZ | xyz(4.7132, 3.4520, 17.2441) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.60
Midnight Blue
#191970
ΔE00 6.02
Marine Blue
#01386A
ΔE00 7.33
Darkslateblue
#483D8B
ΔE00 7.63
Navy Blue
#1B2A4A
ΔE00 8.19
Royal
#0C1793
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D75 #75671F
analogous
#1F5875 #1F2D75 #3C1F75
triadic
#1F2D75 #751F2D #2D751F
tetradic
#1F2D75 #751F58 #75671F #1F753C
square
#1F2D75 #751F58 #75671F #1F753C
split-complementary
#1F2D75 #753C1F #58751F
monochromatic
#060918 #121A45 #1F2D75 #2C40A5 #4258CD
Accessibility & contrast
On white
12.42
#1F2D75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1F2D75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D75
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D75 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2d75; /* rgb */ color: rgb(31, 45, 117); /* oklch */ color: oklch(33.4% 0.124 269.9);
Tailwind
colors: {
custom: {
50: '#67659d',
500: '#1f2d75',
950: '#000000',
},
}SCSS
$custom: #1f2d75; $custom-light: #67659d; $custom-dark: #000000;
JSON
{
"hex": "#1f2d75",
"rgb": {
"r": 31,
"g": 45,
"b": 117
},
"hsl": {
"h": 230.233,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.33367,
"c": 0.12425,
"h": 269.9
},
"luminance": 0.03452
}Semantic roles & 50–950 ramp
primary
#1F2D75
secondary
#A99947
accent
#C846E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E