#1F2292#1F2292
#1F2292 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.177 H 271.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2292 |
|---|---|
| RGB | rgb(31, 34, 146) |
| HSL | hsl(238, 65%, 35%) |
| HSV | hsv(238, 79%, 57%) |
| CMYK | cmyk(78.8%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(21.98, 38.89, -60.99) |
| CIE-LCH | lch(21.98, 72.34, 302.53°) |
| OKLab | oklab(34.39% 0.0037 -0.1766) |
| OKLCH | oklch(34.39% 0.177 271.2) |
| XYZ | xyz(6.3237, 3.5100, 27.5328) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.54
Cobalt Blue
#030AA7
ΔE00 4.87
Midnight Blue
#191970
ΔE00 5.42
Royal Blue (survey)
#0504AA
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.66
Darkblue
#00008B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2292 #928F1F
analogous
#1F5B92 #1F2292 #561F92
triadic
#1F2292 #921F22 #22921F
tetradic
#1F2292 #921F5B #928F1F #1F9256
square
#1F2292 #921F5B #928F1F #1F9256
split-complementary
#1F2292 #92561F #5B921F
monochromatic
#0A0A2D #141660 #1F2292 #2A2EC4 #5155DA
Accessibility & contrast
On white
12.34
#1F2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1F2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2292
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2292 | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2292; /* rgb */ color: rgb(31, 34, 146); /* oklch */ color: oklch(34.4% 0.177 271.2);
Tailwind
colors: {
custom: {
50: '#705fb3',
500: '#1f2292',
950: '#000000',
},
}SCSS
$custom: #1f2292; $custom-light: #705fb3; $custom-dark: #000000;
JSON
{
"hex": "#1f2292",
"rgb": {
"r": 31,
"g": 34,
"b": 146
},
"hsl": {
"h": 238.435,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.34392,
"c": 0.17663,
"h": 271.2
},
"luminance": 0.03511
}Semantic roles & 50–950 ramp
primary
#1F2292
secondary
#BDBA50
accent
#E440E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980