#1F2DA1#1F2DA1
#1F2DA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.184 H 269.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2DA1 |
|---|---|
| RGB | rgb(31, 45, 161) |
| HSL | hsl(234, 68%, 38%) |
| HSV | hsv(234, 81%, 63%) |
| CMYK | cmyk(80.7%, 72%, 0%, 36.9%) |
| CIE-LAB | lab(25.98, 37.56, -63.58) |
| CIE-LCH | lch(25.98, 73.85, 300.58°) |
| OKLab | oklab(37.73% -0.003 -0.1842) |
| OKLCH | oklch(37.73% 0.184 269.1) |
| XYZ | xyz(7.9343, 4.7404, 34.2081) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.26
Royal
#0C1793
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.85
Cobalt Blue
#030AA7
ΔE00 6.65
True Blue
#010FCC
ΔE00 7.13
Blueberry
#464196
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2DA1 #A1931F
analogous
#1F6EA1 #1F2DA1 #521FA1
triadic
#1F2DA1 #A11F2D #2DA11F
tetradic
#1F2DA1 #A11F6E #A1931F #1FA152
square
#1F2DA1 #A11F6E #A1931F #1FA152
split-complementary
#1F2DA1 #A1521F #6EA11F
monochromatic
#0B103A #151F6E #1F2DA1 #293BD4 #5B69DF
Accessibility & contrast
On white
10.78
#1F2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F2DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2DA1
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2DA1 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2da1; /* rgb */ color: rgb(31, 45, 161); /* oklch */ color: oklch(37.7% 0.184 269.1);
Tailwind
colors: {
custom: {
50: '#7366be',
500: '#1f2da1',
950: '#000000',
},
}SCSS
$custom: #1f2da1; $custom-light: #7366be; $custom-dark: #000000;
JSON
{
"hex": "#1f2da1",
"rgb": {
"r": 31,
"g": 45,
"b": 161
},
"hsl": {
"h": 233.538,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.37731,
"c": 0.18421,
"h": 269.1
},
"luminance": 0.04741
}Semantic roles & 50–950 ramp
primary
#1F2DA1
secondary
#C4B858
accent
#D83DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81