#2A35A4#2A35A4
#2A35A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.176 H 271.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A35A4 |
|---|---|
| RGB | rgb(42, 53, 164) |
| HSL | hsl(235, 59%, 40%) |
| HSV | hsv(235, 74%, 64%) |
| CMYK | cmyk(74.4%, 67.7%, 0%, 35.7%) |
| CIE-LAB | lab(28.69, 34.65, -60.92) |
| CIE-LCH | lch(28.69, 70.09, 299.63°) |
| OKLab | oklab(39.93% 0.0037 -0.1762) |
| OKLCH | oklch(39.93% 0.176 271.2) |
| XYZ | xyz(8.9265, 5.7179, 35.7480) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.51
Blueberry
#464196
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.51
Indigo Blue
#3A18B1
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A35A4 #A4992A
analogous
#2A72A4 #2A35A4 #5C2AA4
triadic
#2A35A4 #A42A35 #35A42A
tetradic
#2A35A4 #A42A72 #A4992A #2AA45C
square
#2A35A4 #A42A72 #A4992A #2AA45C
split-complementary
#2A35A4 #A45C2A #72A42A
monochromatic
#111643 #1E2573 #2A35A4 #3E4BCD #6E78DA
Accessibility & contrast
On white
9.80
#2A35A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A35A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A35A4
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A35A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A35A4 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a35a4; /* rgb */ color: rgb(42, 53, 164); /* oklch */ color: oklch(39.9% 0.176 271.2);
Tailwind
colors: {
custom: {
50: '#776cc0',
500: '#2a35a4',
950: '#000000',
},
}SCSS
$custom: #2a35a4; $custom-light: #776cc0; $custom-dark: #000000;
JSON
{
"hex": "#2a35a4",
"rgb": {
"r": 42,
"g": 53,
"b": 164
},
"hsl": {
"h": 234.59,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.39932,
"c": 0.17623,
"h": 271.2
},
"luminance": 0.05719
}Semantic roles & 50–950 ramp
primary
#2A35A4
secondary
#C1B969
accent
#D445E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81