#2A35A5#2A35A5
#2A35A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.178 H 271.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A35A5 |
|---|---|
| RGB | rgb(42, 53, 165) |
| HSL | hsl(235, 59%, 41%) |
| HSV | hsv(235, 75%, 65%) |
| CMYK | cmyk(74.5%, 67.9%, 0%, 35.3%) |
| CIE-LAB | lab(28.78, 35.01, -61.37) |
| CIE-LCH | lch(28.78, 70.66, 299.70°) |
| OKLab | oklab(40.03% 0.0036 -0.1775) |
| OKLCH | oklch(40.03% 0.178 271.2) |
| XYZ | xyz(9.0172, 5.7541, 36.2254) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blueberry
#464196
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.59
Indigo Blue
#3A18B1
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A35A5 #A59A2A
analogous
#2A72A5 #2A35A5 #5C2AA5
triadic
#2A35A5 #A52A35 #35A52A
tetradic
#2A35A5 #A52A72 #A59A2A #2AA55C
square
#2A35A5 #A52A72 #A59A2A #2AA55C
split-complementary
#2A35A5 #A55C2A #72A52A
monochromatic
#111643 #1E2574 #2A35A5 #3E4BCE #6F79DA
Accessibility & contrast
On white
9.76
#2A35A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A35A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A35A5
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A35A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A35A5 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a35a5; /* rgb */ color: rgb(42, 53, 165); /* oklch */ color: oklch(40.0% 0.178 271.2);
Tailwind
colors: {
custom: {
50: '#776cc1',
500: '#2a35a5',
950: '#000000',
},
}SCSS
$custom: #2a35a5; $custom-light: #776cc1; $custom-dark: #000000;
JSON
{
"hex": "#2a35a5",
"rgb": {
"r": 42,
"g": 53,
"b": 165
},
"hsl": {
"h": 234.634,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.40029,
"c": 0.17755,
"h": 271.2
},
"luminance": 0.05755
}Semantic roles & 50–950 ramp
primary
#2A35A5
secondary
#C1B969
accent
#D545E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81