#1F2293#1F2293
#1F2293 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.178 H 271.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2293 |
|---|---|
| RGB | rgb(31, 34, 147) |
| HSL | hsl(238, 65%, 35%) |
| HSV | hsv(238, 79%, 58%) |
| CMYK | cmyk(78.9%, 76.9%, 0%, 42.4%) |
| CIE-LAB | lab(22.09, 39.24, -61.42) |
| CIE-LCH | lch(22.09, 72.89, 302.57°) |
| OKLab | oklab(34.5% 0.0036 -0.1778) |
| OKLCH | oklch(34.5% 0.178 271.1) |
| XYZ | xyz(6.4018, 3.5412, 27.9442) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.53
Cobalt Blue
#030AA7
ΔE00 4.78
Royal Blue (survey)
#0504AA
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.53
Midnight Blue
#191970
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2293 #93901F
analogous
#1F5C93 #1F2293 #561F93
triadic
#1F2293 #931F22 #22931F
tetradic
#1F2293 #931F5C #93901F #1F9356
square
#1F2293 #931F5C #93901F #1F9356
split-complementary
#1F2293 #93561F #5C931F
monochromatic
#0A0B2E #141660 #1F2293 #2A2EC6 #5255DA
Accessibility & contrast
On white
12.29
#1F2293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1F2293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2293
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2293 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2293; /* rgb */ color: rgb(31, 34, 147); /* oklch */ color: oklch(34.5% 0.178 271.1);
Tailwind
colors: {
custom: {
50: '#705fb4',
500: '#1f2293',
950: '#000000',
},
}SCSS
$custom: #1f2293; $custom-light: #705fb4; $custom-dark: #000000;
JSON
{
"hex": "#1f2293",
"rgb": {
"r": 31,
"g": 34,
"b": 147
},
"hsl": {
"h": 238.448,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.34504,
"c": 0.17789,
"h": 271.1
},
"luminance": 0.03542
}Semantic roles & 50–950 ramp
primary
#1F2293
secondary
#BEBB50
accent
#E440E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980