#1F2393#1F2393
#1F2393 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.177 H 271.0°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2393 |
|---|---|
| RGB | rgb(31, 35, 147) |
| HSL | hsl(238, 65%, 35%) |
| HSV | hsv(238, 79%, 58%) |
| CMYK | cmyk(78.9%, 76.2%, 0%, 42.4%) |
| CIE-LAB | lab(22.30, 38.66, -61.08) |
| CIE-LCH | lch(22.30, 72.28, 302.33°) |
| OKLab | oklab(34.65% 0.0032 -0.1769) |
| OKLCH | oklch(34.65% 0.177 271) |
| XYZ | xyz(6.4308, 3.5992, 27.9539) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Cobalt Blue
#030AA7
ΔE00 4.99
Royal Blue (survey)
#0504AA
ΔE00 5.59
Midnight Blue
#191970
ΔE00 5.62
Indigo Blue
#3A18B1
ΔE00 5.64
Ultramarine
#2000B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2393 #938F1F
analogous
#1F5D93 #1F2393 #551F93
triadic
#1F2393 #931F23 #23931F
tetradic
#1F2393 #931F5D #938F1F #1F9355
square
#1F2393 #931F5D #938F1F #1F9355
split-complementary
#1F2393 #93551F #5D931F
monochromatic
#0A0B2E #141760 #1F2393 #2A2FC6 #5257DA
Accessibility & contrast
On white
12.21
#1F2393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1F2393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2393
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2393 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2393; /* rgb */ color: rgb(31, 35, 147); /* oklch */ color: oklch(34.7% 0.177 271.0);
Tailwind
colors: {
custom: {
50: '#705fb4',
500: '#1f2393',
950: '#000000',
},
}SCSS
$custom: #1f2393; $custom-light: #705fb4; $custom-dark: #000000;
JSON
{
"hex": "#1f2393",
"rgb": {
"r": 31,
"g": 35,
"b": 147
},
"hsl": {
"h": 237.931,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.34651,
"c": 0.17689,
"h": 271
},
"luminance": 0.036
}Semantic roles & 50–950 ramp
primary
#1F2393
secondary
#BEBA50
accent
#E240E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980