#1F2D8F#1F2D8F
#1F2D8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.161 H 269.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D8F |
|---|---|
| RGB | rgb(31, 45, 143) |
| HSL | hsl(233, 64%, 34%) |
| HSV | hsv(233, 78%, 56%) |
| CMYK | cmyk(78.3%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.16, 30.93, -55.53) |
| CIE-LCH | lch(24.16, 63.57, 299.12°) |
| OKLab | oklab(35.87% -0.0012 -0.1607) |
| OKLCH | oklch(35.87% 0.161 269.6) |
| XYZ | xyz(6.4597, 4.1505, 26.4420) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 5.59
Midnight Blue
#191970
ΔE00 6.61
Blueberry
#464196
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D8F #8F811F
analogous
#1F658F #1F2D8F #491F8F
triadic
#1F2D8F #8F1F2D #2D8F1F
tetradic
#1F2D8F #8F1F65 #8F811F #1F8F49
square
#1F2D8F #8F1F65 #8F811F #1F8F49
split-complementary
#1F2D8F #8F491F #658F1F
monochromatic
#090D2A #141D5D #1F2D8F #2A3DC1 #4F61D9
Accessibility & contrast
On white
11.47
#1F2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D8F
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D8F | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2d8f; /* rgb */ color: rgb(31, 45, 143); /* oklch */ color: oklch(35.9% 0.161 269.6);
Tailwind
colors: {
custom: {
50: '#6e66b1',
500: '#1f2d8f',
950: '#000000',
},
}SCSS
$custom: #1f2d8f; $custom-light: #6e66b1; $custom-dark: #000000;
JSON
{
"hex": "#1f2d8f",
"rgb": {
"r": 31,
"g": 45,
"b": 143
},
"hsl": {
"h": 232.5,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.35866,
"c": 0.16072,
"h": 269.6
},
"luminance": 0.04151
}Semantic roles & 50–950 ramp
primary
#1F2D8F
secondary
#BCAE4E
accent
#D240E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80