#1F2D90#1F2D90
#1F2D90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.162 H 269.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D90 |
|---|---|
| RGB | rgb(31, 45, 144) |
| HSL | hsl(233, 65%, 34%) |
| HSV | hsv(233, 78%, 56%) |
| CMYK | cmyk(78.5%, 68.7%, 0%, 43.5%) |
| CIE-LAB | lab(24.26, 31.31, -55.99) |
| CIE-LCH | lch(24.26, 64.15, 299.21°) |
| OKLab | oklab(35.97% -0.0013 -0.1621) |
| OKLCH | oklch(35.97% 0.162 269.5) |
| XYZ | xyz(6.5358, 4.1810, 26.8427) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.65
Royal
#0C1793
ΔE00 5.54
Midnight Blue
#191970
ΔE00 6.69
Blueberry
#464196
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.07
Indigo Blue
#3A18B1
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D90 #90821F
analogous
#1F6690 #1F2D90 #491F90
triadic
#1F2D90 #901F2D #2D901F
tetradic
#1F2D90 #901F66 #90821F #1F9049
square
#1F2D90 #901F66 #90821F #1F9049
split-complementary
#1F2D90 #90491F #66901F
monochromatic
#090E2B #141D5E #1F2D90 #2A3DC2 #5061D9
Accessibility & contrast
On white
11.44
#1F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F2D90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D90
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D90 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2d90; /* rgb */ color: rgb(31, 45, 144); /* oklch */ color: oklch(36.0% 0.162 269.5);
Tailwind
colors: {
custom: {
50: '#6e66b2',
500: '#1f2d90',
950: '#000000',
},
}SCSS
$custom: #1f2d90; $custom-light: #6e66b2; $custom-dark: #000000;
JSON
{
"hex": "#1f2d90",
"rgb": {
"r": 31,
"g": 45,
"b": 144
},
"hsl": {
"h": 232.566,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.35967,
"c": 0.16207,
"h": 269.5
},
"luminance": 0.04182
}Semantic roles & 50–950 ramp
primary
#1F2D90
secondary
#BCAF4E
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80