#2C2A75#2C2A75
#2C2A75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.125 H 278.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A75 |
|---|---|
| RGB | rgb(44, 42, 117) |
| HSL | hsl(242, 47%, 31%) |
| HSV | hsv(242, 64%, 46%) |
| CMYK | cmyk(62.4%, 64.1%, 0%, 54.1%) |
| CIE-LAB | lab(21.86, 25.13, -42.91) |
| CIE-LCH | lch(21.86, 49.73, 300.35°) |
| OKLab | oklab(33.66% 0.0185 -0.1234) |
| OKLCH | oklch(33.66% 0.125 278.5) |
| XYZ | xyz(5.0765, 3.4754, 17.2295) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.85
Darkslateblue
#483D8B
ΔE00 6.72
Royal
#0C1793
ΔE00 7.48
Blueberry
#464196
ΔE00 8.02
Marine
#042E60
ΔE00 8.06
Sapphire (survey)
#2138AB
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A75 #73752A
analogous
#2A4D75 #2C2A75 #512A75
triadic
#2C2A75 #752C2A #2A752C
tetradic
#2C2A75 #752A4D #73752A #2A7551
square
#2C2A75 #752A4D #73752A #2A7551
split-complementary
#2C2A75 #75512A #4D752A
monochromatic
#0A0A1B #1B1A48 #2C2A75 #3D3AA2 #5A57C3
Accessibility & contrast
On white
12.39
#2C2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2C2A75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A75
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A75 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2a75; /* rgb */ color: rgb(44, 42, 117); /* oklch */ color: oklch(33.7% 0.125 278.5);
Tailwind
colors: {
custom: {
50: '#6e639d',
500: '#2c2a75',
950: '#000000',
},
}SCSS
$custom: #2c2a75; $custom-light: #6e639d; $custom-dark: #000000;
JSON
{
"hex": "#2c2a75",
"rgb": {
"r": 44,
"g": 42,
"b": 117
},
"hsl": {
"h": 241.6,
"s": 47.17,
"l": 31.176
},
"oklch": {
"l": 0.33664,
"c": 0.12477,
"h": 278.5
},
"luminance": 0.03476
}Semantic roles & 50–950 ramp
primary
#2C2A75
secondary
#A5A754
accent
#D751D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E