#1F2EA5#1F2EA5
#1F2EA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.188 H 268.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2EA5 |
|---|---|
| RGB | rgb(31, 46, 165) |
| HSL | hsl(233, 68%, 38%) |
| HSV | hsv(233, 81%, 65%) |
| CMYK | cmyk(81.2%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(26.62, 38.39, -64.95) |
| CIE-LCH | lch(26.62, 75.44, 300.58°) |
| OKLab | oklab(38.32% -0.0039 -0.1882) |
| OKLCH | oklch(38.32% 0.188 268.8) |
| XYZ | xyz(8.3313, 4.9609, 36.1085) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Indigo Blue
#3A18B1
ΔE00 5.76
Royal
#0C1793
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.82
True Blue
#010FCC
ΔE00 6.88
Blue Blue
#2242C7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2EA5 #A5961F
analogous
#1F71A5 #1F2EA5 #531FA5
triadic
#1F2EA5 #A51F2E #2EA51F
tetradic
#1F2EA5 #A51F71 #A5961F #1FA553
square
#1F2EA5 #A51F71 #A5961F #1FA553
split-complementary
#1F2EA5 #A5531F #71A51F
monochromatic
#0C113E #152071 #1F2EA5 #2A3ED7 #5E6CE1
Accessibility & contrast
On white
10.54
#1F2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1F2EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2EA5
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2EA5 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f2ea5; /* rgb */ color: rgb(31, 46, 165); /* oklch */ color: oklch(38.3% 0.188 268.8);
Tailwind
colors: {
custom: {
50: '#7467c1',
500: '#1f2ea5',
950: '#000000',
},
}SCSS
$custom: #1f2ea5; $custom-light: #7467c1; $custom-dark: #000000;
JSON
{
"hex": "#1f2ea5",
"rgb": {
"r": 31,
"g": 46,
"b": 165
},
"hsl": {
"h": 233.284,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.38317,
"c": 0.18821,
"h": 268.8
},
"luminance": 0.04962
}Semantic roles & 50–950 ramp
primary
#1F2EA5
secondary
#C5B95B
accent
#D83DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81