#2C2A9B#2C2A9B
#2C2A9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.176 H 274.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A9B |
|---|---|
| RGB | rgb(44, 42, 155) |
| HSL | hsl(241, 57%, 39%) |
| HSV | hsv(241, 73%, 61%) |
| CMYK | cmyk(71.6%, 72.9%, 0%, 39.2%) |
| CIE-LAB | lab(25.43, 38.51, -60.80) |
| CIE-LCH | lch(25.43, 71.97, 302.35°) |
| OKLab | oklab(37.35% 0.0138 -0.1758) |
| OKLCH | oklch(37.35% 0.176 274.5) |
| XYZ | xyz(7.7811, 4.5572, 31.4736) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.59
Royal
#0C1793
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 5.03
Cobalt Blue
#030AA7
ΔE00 6.11
Royal Blue (survey)
#0504AA
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A9B #999B2A
analogous
#2A609B #2C2A9B #642A9B
triadic
#2C2A9B #9B2C2A #2A9B2C
tetradic
#2C2A9B #9B2A60 #999B2A #2A9B64
square
#2C2A9B #9B2A60 #999B2A #2A9B64
split-complementary
#2C2A9B #9B642A #609B2A
monochromatic
#11103B #1E1D6B #2C2A9B #3B39C9 #6B69D6
Accessibility & contrast
On white
10.99
#2C2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2C2A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A9B
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A9B | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2a9b; /* rgb */ color: rgb(44, 42, 155); /* oklch */ color: oklch(37.4% 0.176 274.5);
Tailwind
colors: {
custom: {
50: '#7665ba',
500: '#2c2a9b',
950: '#000000',
},
}SCSS
$custom: #2c2a9b; $custom-light: #7665ba; $custom-dark: #000000;
JSON
{
"hex": "#2c2a9b",
"rgb": {
"r": 44,
"g": 42,
"b": 155
},
"hsl": {
"h": 241.062,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.3735,
"c": 0.17633,
"h": 274.5
},
"luminance": 0.04558
}Semantic roles & 50–950 ramp
primary
#2C2A9B
secondary
#BBBD64
accent
#E147DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81