#1F2A90#1F2A90
#1F2A90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.166 H 270.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2A90 |
|---|---|
| RGB | rgb(31, 42, 144) |
| HSL | hsl(234, 65%, 34%) |
| HSV | hsv(234, 78%, 56%) |
| CMYK | cmyk(78.5%, 70.8%, 0%, 43.5%) |
| CIE-LAB | lab(23.54, 33.26, -57.18) |
| CIE-LCH | lch(23.54, 66.15, 300.18°) |
| OKLab | oklab(35.44% 0.0003 -0.1655) |
| OKLCH | oklch(35.44% 0.166 270.1) |
| XYZ | xyz(6.4254, 3.9601, 26.8059) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 5.17
Midnight Blue
#191970
ΔE00 6.12
Cobalt Blue
#030AA7
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2A90 #90851F
analogous
#1F6390 #1F2A90 #4D1F90
triadic
#1F2A90 #901F2A #2A901F
tetradic
#1F2A90 #901F63 #90851F #1F904D
square
#1F2A90 #901F63 #90851F #1F904D
split-complementary
#1F2A90 #904D1F #63901F
monochromatic
#090D2B #141B5E #1F2A90 #2A39C2 #505DD9
Accessibility & contrast
On white
11.72
#1F2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1F2A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2A90
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2A90 | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f2a90; /* rgb */ color: rgb(31, 42, 144); /* oklch */ color: oklch(35.4% 0.166 270.1);
Tailwind
colors: {
custom: {
50: '#6f64b2',
500: '#1f2a90',
950: '#000000',
},
}SCSS
$custom: #1f2a90; $custom-light: #6f64b2; $custom-dark: #000000;
JSON
{
"hex": "#1f2a90",
"rgb": {
"r": 31,
"g": 42,
"b": 144
},
"hsl": {
"h": 234.159,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.35444,
"c": 0.16553,
"h": 270.1
},
"luminance": 0.03961
}Semantic roles & 50–950 ramp
primary
#1F2A90
secondary
#BCB24E
accent
#D740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80