#2A35A2#2A35A2
#2A35A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.174 H 271.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A35A2 |
|---|---|
| RGB | rgb(42, 53, 162) |
| HSL | hsl(235, 59%, 40%) |
| HSV | hsv(235, 74%, 64%) |
| CMYK | cmyk(74.1%, 67.3%, 0%, 36.5%) |
| CIE-LAB | lab(28.50, 33.93, -60.02) |
| CIE-LCH | lch(28.50, 68.95, 299.48°) |
| OKLab | oklab(39.74% 0.0039 -0.1736) |
| OKLCH | oklch(39.74% 0.174 271.3) |
| XYZ | xyz(8.7473, 5.6462, 34.8042) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.67
Blueberry
#464196
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.35
Cobalt
#0047AB
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A35A2 #A2972A
analogous
#2A71A2 #2A35A2 #5B2AA2
triadic
#2A35A2 #A22A35 #35A22A
tetradic
#2A35A2 #A22A71 #A2972A #2AA25B
square
#2A35A2 #A22A71 #A2972A #2AA25B
split-complementary
#2A35A2 #A25B2A #71A22A
monochromatic
#111541 #1D2571 #2A35A2 #3D4ACD #6D77D9
Accessibility & contrast
On white
9.86
#2A35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2A35A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A35A2
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A35A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A35A2 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a35a2; /* rgb */ color: rgb(42, 53, 162); /* oklch */ color: oklch(39.7% 0.174 271.3);
Tailwind
colors: {
custom: {
50: '#766cbf',
500: '#2a35a2',
950: '#000000',
},
}SCSS
$custom: #2a35a2; $custom-light: #766cbf; $custom-dark: #000000;
JSON
{
"hex": "#2a35a2",
"rgb": {
"r": 42,
"g": 53,
"b": 162
},
"hsl": {
"h": 234.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.39738,
"c": 0.1736,
"h": 271.3
},
"luminance": 0.05647
}Semantic roles & 50–950 ramp
primary
#2A35A2
secondary
#C0B868
accent
#D446E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81