#1F2DA0#1F2DA0
#1F2DA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 269.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2DA0 |
|---|---|
| RGB | rgb(31, 45, 160) |
| HSL | hsl(233, 68%, 37%) |
| HSV | hsv(233, 81%, 63%) |
| CMYK | cmyk(80.6%, 71.9%, 0%, 37.3%) |
| CIE-LAB | lab(25.88, 37.20, -63.14) |
| CIE-LCH | lch(25.88, 73.29, 300.51°) |
| OKLab | oklab(37.63% -0.0029 -0.1829) |
| OKLCH | oklch(37.63% 0.183 269.1) |
| XYZ | xyz(7.8464, 4.7052, 33.7456) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.31
Royal
#0C1793
ΔE00 5.43
Indigo Blue
#3A18B1
ΔE00 5.93
Cobalt Blue
#030AA7
ΔE00 6.69
Blueberry
#464196
ΔE00 7.12
Royal Blue (survey)
#0504AA
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2DA0 #A0921F
analogous
#1F6EA0 #1F2DA0 #511FA0
triadic
#1F2DA0 #A01F2D #2DA01F
tetradic
#1F2DA0 #A01F6E #A0921F #1FA051
square
#1F2DA0 #A01F6E #A0921F #1FA051
split-complementary
#1F2DA0 #A0511F #6EA01F
monochromatic
#0B1039 #151F6D #1F2DA0 #293BD3 #5A69DF
Accessibility & contrast
On white
10.82
#1F2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1F2DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2DA0
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2DA0 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2da0; /* rgb */ color: rgb(31, 45, 160); /* oklch */ color: oklch(37.6% 0.183 269.1);
Tailwind
colors: {
custom: {
50: '#7366bd',
500: '#1f2da0',
950: '#000000',
},
}SCSS
$custom: #1f2da0; $custom-light: #7366bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2da0",
"rgb": {
"r": 31,
"g": 45,
"b": 160
},
"hsl": {
"h": 233.488,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.37625,
"c": 0.18294,
"h": 269.1
},
"luminance": 0.04706
}Semantic roles & 50–950 ramp
primary
#1F2DA0
secondary
#C3B758
accent
#D83DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81