#1F2C82#1F2C82
#1F2C82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.144 H 270.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C82 |
|---|---|
| RGB | rgb(31, 44, 130) |
| HSL | hsl(232, 61%, 32%) |
| HSV | hsv(232, 76%, 51%) |
| CMYK | cmyk(76.2%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(22.67, 26.65, -49.87) |
| CIE-LCH | lch(22.67, 56.54, 298.12°) |
| OKLab | oklab(34.39% 0.0003 -0.1442) |
| OKLCH | oklch(34.39% 0.144 270.1) |
| XYZ | xyz(5.4936, 3.7038, 21.5401) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Royal
#0C1793
ΔE00 6.33
Sapphire (survey)
#2138AB
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 7.16
Marine
#042E60
ΔE00 7.44
Blueberry
#464196
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C82 #82751F
analogous
#1F5E82 #1F2C82 #441F82
triadic
#1F2C82 #821F2C #2C821F
tetradic
#1F2C82 #821F5E #82751F #1F8244
square
#1F2C82 #821F5E #82751F #1F8244
split-complementary
#1F2C82 #82441F #5E821F
monochromatic
#070B1F #131B51 #1F2C82 #2B3DB3 #485AD3
Accessibility & contrast
On white
12.06
#1F2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1F2C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C82
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C82 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2c82; /* rgb */ color: rgb(31, 44, 130); /* oklch */ color: oklch(34.4% 0.144 270.1);
Tailwind
colors: {
custom: {
50: '#6b65a7',
500: '#1f2c82',
950: '#000000',
},
}SCSS
$custom: #1f2c82; $custom-light: #6b65a7; $custom-dark: #000000;
JSON
{
"hex": "#1f2c82",
"rgb": {
"r": 31,
"g": 44,
"b": 130
},
"hsl": {
"h": 232.121,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.34392,
"c": 0.14416,
"h": 270.1
},
"luminance": 0.03704
}Semantic roles & 50–950 ramp
primary
#1F2C82
secondary
#B5A748
accent
#CF43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F