#1F2DA7#1F2DA7
#1F2DA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.192 H 268.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2DA7 |
|---|---|
| RGB | rgb(31, 45, 167) |
| HSL | hsl(234, 69%, 39%) |
| HSV | hsv(234, 81%, 65%) |
| CMYK | cmyk(81.4%, 73.1%, 0%, 34.5%) |
| CIE-LAB | lab(26.61, 39.71, -66.17) |
| CIE-LCH | lch(26.61, 77.18, 300.97°) |
| OKLab | oklab(38.37% -0.0037 -0.1917) |
| OKLCH | oklch(38.37% 0.192 268.9) |
| XYZ | xyz(8.4761, 4.9571, 37.0618) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Indigo Blue
#3A18B1
ΔE00 5.40
Royal
#0C1793
ΔE00 5.75
True Blue
#010FCC
ΔE00 6.48
Cobalt Blue
#030AA7
ΔE00 6.52
Royal Blue (survey)
#0504AA
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2DA7 #A7991F
analogous
#1F71A7 #1F2DA7 #551FA7
triadic
#1F2DA7 #A71F2D #2DA71F
tetradic
#1F2DA7 #A71F71 #A7991F #1FA755
square
#1F2DA7 #A71F71 #A7991F #1FA755
split-complementary
#1F2DA7 #A7551F #71A71F
monochromatic
#0C1140 #151F73 #1F2DA7 #2B3DD8 #5F6CE1
Accessibility & contrast
On white
10.54
#1F2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1F2DA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2DA7
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2DA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2DA7 | 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)
#0046AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f2da7; /* rgb */ color: rgb(31, 45, 167); /* oklch */ color: oklch(38.4% 0.192 268.9);
Tailwind
colors: {
custom: {
50: '#7567c2',
500: '#1f2da7',
950: '#000000',
},
}SCSS
$custom: #1f2da7; $custom-light: #7567c2; $custom-dark: #000000;
JSON
{
"hex": "#1f2da7",
"rgb": {
"r": 31,
"g": 45,
"b": 167
},
"hsl": {
"h": 233.824,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.38372,
"c": 0.19177,
"h": 268.9
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#1F2DA7
secondary
#C6BB5C
accent
#D93CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82