#2C2A79#2C2A79
#2C2A79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.131 H 278.0°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A79 |
|---|---|
| RGB | rgb(44, 42, 121) |
| HSL | hsl(242, 48%, 32%) |
| HSV | hsv(242, 65%, 47%) |
| CMYK | cmyk(63.6%, 65.3%, 0%, 52.5%) |
| CIE-LAB | lab(22.20, 26.56, -44.90) |
| CIE-LCH | lch(22.20, 52.17, 300.61°) |
| OKLab | oklab(34.03% 0.0182 -0.1292) |
| OKLCH | oklch(34.03% 0.131 278) |
| XYZ | xyz(5.3168, 3.5715, 18.4946) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 6.54
Royal
#0C1793
ΔE00 6.89
Blueberry
#464196
ΔE00 7.71
Sapphire (survey)
#2138AB
ΔE00 8.23
Marine
#042E60
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A79 #77792A
analogous
#2A5079 #2C2A79 #542A79
triadic
#2C2A79 #792C2A #2A792C
tetradic
#2C2A79 #792A50 #77792A #2A7954
square
#2C2A79 #792A50 #77792A #2A7954
split-complementary
#2C2A79 #79542A #50792A
monochromatic
#0B0A1E #1B1A4C #2C2A79 #3D3AA6 #5B58C5
Accessibility & contrast
On white
12.25
#2C2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2C2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A79
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A79 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c2a79; /* rgb */ color: rgb(44, 42, 121); /* oklch */ color: oklch(34.0% 0.131 278.0);
Tailwind
colors: {
custom: {
50: '#6f64a0',
500: '#2c2a79',
950: '#000000',
},
}SCSS
$custom: #2c2a79; $custom-light: #6f64a0; $custom-dark: #000000;
JSON
{
"hex": "#2c2a79",
"rgb": {
"r": 44,
"g": 42,
"b": 121
},
"hsl": {
"h": 241.519,
"s": 48.466,
"l": 31.961
},
"oklch": {
"l": 0.34025,
"c": 0.13051,
"h": 278
},
"luminance": 0.03572
}Semantic roles & 50–950 ramp
primary
#2C2A79
secondary
#A8AB54
accent
#D850D5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050F
muted
#7B797E