#2C2986#2C2986
#2C2986 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.150 H 276.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2986 |
|---|---|
| RGB | rgb(44, 41, 134) |
| HSL | hsl(242, 53%, 34%) |
| HSV | hsv(242, 69%, 53%) |
| CMYK | cmyk(67.2%, 69.4%, 0%, 47.5%) |
| CIE-LAB | lab(23.14, 31.83, -51.57) |
| CIE-LCH | lch(23.14, 60.60, 301.69°) |
| OKLab | oklab(35.08% 0.0177 -0.1488) |
| OKLCH | oklch(35.08% 0.15 276.8) |
| XYZ | xyz(6.1333, 3.8421, 22.9680) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.10
Royal
#0C1793
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 6.58
Sapphire (survey)
#2138AB
ΔE00 6.65
Blueberry
#464196
ΔE00 7.29
Indigo Blue
#3A18B1
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2986 #838629
analogous
#295586 #2C2986 #5A2986
triadic
#2C2986 #862C29 #29862C
tetradic
#2C2986 #862955 #838629 #29865A
square
#2C2986 #862955 #838629 #29865A
split-complementary
#2C2986 #865A29 #558629
monochromatic
#0D0C28 #1D1B57 #2C2986 #3B37B5 #605CCD
Accessibility & contrast
On white
11.87
#2C2986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C2986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2986
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2986 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2986; /* rgb */ color: rgb(44, 41, 134); /* oklch */ color: oklch(35.1% 0.150 276.8);
Tailwind
colors: {
custom: {
50: '#7163aa',
500: '#2c2986',
950: '#000000',
},
}SCSS
$custom: #2c2986; $custom-light: #7163aa; $custom-dark: #000000;
JSON
{
"hex": "#2c2986",
"rgb": {
"r": 44,
"g": 41,
"b": 134
},
"hsl": {
"h": 241.935,
"s": 53.143,
"l": 34.314
},
"oklch": {
"l": 0.35076,
"c": 0.14986,
"h": 276.8
},
"luminance": 0.03843
}Semantic roles & 50–950 ramp
primary
#2C2986
secondary
#B0B358
accent
#DD4BD8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F