#1F2EA6#1F2EA6
#1F2EA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.189 H 268.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2EA6 |
|---|---|
| RGB | rgb(31, 46, 166) |
| HSL | hsl(233, 69%, 39%) |
| HSV | hsv(233, 81%, 65%) |
| CMYK | cmyk(81.3%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(26.73, 38.74, -65.38) |
| CIE-LCH | lch(26.73, 76.00, 300.65°) |
| OKLab | oklab(38.42% -0.004 -0.1894) |
| OKLCH | oklch(38.42% 0.189 268.8) |
| XYZ | xyz(8.4226, 4.9975, 36.5897) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Indigo Blue
#3A18B1
ΔE00 5.69
Royal
#0C1793
ΔE00 5.92
True Blue
#010FCC
ΔE00 6.78
Cobalt Blue
#030AA7
ΔE00 6.80
Blue Blue
#2242C7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2EA6 #A6971F
analogous
#1F71A6 #1F2EA6 #531FA6
triadic
#1F2EA6 #A61F2E #2EA61F
tetradic
#1F2EA6 #A61F71 #A6971F #1FA653
square
#1F2EA6 #A61F71 #A6971F #1FA653
split-complementary
#1F2EA6 #A6531F #71A61F
monochromatic
#0C113F #152072 #1F2EA6 #2B3ED7 #5E6DE1
Accessibility & contrast
On white
10.50
#1F2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#1F2EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2EA6
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2EA6 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f2ea6; /* rgb */ color: rgb(31, 46, 166); /* oklch */ color: oklch(38.4% 0.189 268.8);
Tailwind
colors: {
custom: {
50: '#7467c2',
500: '#1f2ea6',
950: '#000000',
},
}SCSS
$custom: #1f2ea6; $custom-light: #7467c2; $custom-dark: #000000;
JSON
{
"hex": "#1f2ea6",
"rgb": {
"r": 31,
"g": 46,
"b": 166
},
"hsl": {
"h": 233.333,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.38423,
"c": 0.18946,
"h": 268.8
},
"luminance": 0.04998
}Semantic roles & 50–950 ramp
primary
#1F2EA6
secondary
#C5BA5B
accent
#D83CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81