#1F2DA6#1F2DA6
#1F2DA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.191 H 268.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2DA6 |
|---|---|
| RGB | rgb(31, 45, 166) |
| HSL | hsl(234, 69%, 39%) |
| HSV | hsv(234, 81%, 65%) |
| CMYK | cmyk(81.3%, 72.9%, 0%, 34.9%) |
| CIE-LAB | lab(26.51, 39.36, -65.74) |
| CIE-LCH | lch(26.51, 76.62, 300.91°) |
| OKLab | oklab(38.27% -0.0036 -0.1905) |
| OKLCH | oklch(38.27% 0.191 268.9) |
| XYZ | xyz(8.3840, 4.9203, 36.5768) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.10
Indigo Blue
#3A18B1
ΔE00 5.46
Royal
#0C1793
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 6.54
True Blue
#010FCC
ΔE00 6.58
Royal Blue (survey)
#0504AA
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2DA6 #A6981F
analogous
#1F70A6 #1F2DA6 #541FA6
triadic
#1F2DA6 #A61F2D #2DA61F
tetradic
#1F2DA6 #A61F70 #A6981F #1FA654
square
#1F2DA6 #A61F70 #A6981F #1FA654
split-complementary
#1F2DA6 #A6541F #70A61F
monochromatic
#0C113F #151F72 #1F2DA6 #2B3DD7 #5E6CE1
Accessibility & contrast
On white
10.58
#1F2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F2DA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2DA6
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2DA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2DA6 | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f2da6; /* rgb */ color: rgb(31, 45, 166); /* oklch */ color: oklch(38.3% 0.191 268.9);
Tailwind
colors: {
custom: {
50: '#7467c2',
500: '#1f2da6',
950: '#000000',
},
}SCSS
$custom: #1f2da6; $custom-light: #7467c2; $custom-dark: #000000;
JSON
{
"hex": "#1f2da6",
"rgb": {
"r": 31,
"g": 45,
"b": 166
},
"hsl": {
"h": 233.778,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.38265,
"c": 0.19051,
"h": 268.9
},
"luminance": 0.04921
}Semantic roles & 50–950 ramp
primary
#1F2DA6
secondary
#C5BA5B
accent
#D93CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81