#2A35B4#2A35B4
#2A35B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.197 H 270.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A35B4 |
|---|---|
| RGB | rgb(42, 53, 180) |
| HSL | hsl(235, 62%, 44%) |
| HSV | hsv(235, 77%, 71%) |
| CMYK | cmyk(76.7%, 70.6%, 0%, 29.4%) |
| CIE-LAB | lab(30.24, 40.34, -67.97) |
| CIE-LCH | lch(30.24, 79.04, 300.69°) |
| OKLab | oklab(41.52% 0.002 -0.1968) |
| OKLCH | oklch(41.52% 0.197 270.6) |
| XYZ | xyz(10.4634, 6.3326, 43.8420) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blue Blue
#2242C7
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 5.28
Blue With A Hint Of Purple
#533CC6
ΔE00 5.81
Blurple
#5539CC
ΔE00 6.34
Indigo Blue
#3A18B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A35B4 #B4A92A
analogous
#2A7AB4 #2A35B4 #642AB4
triadic
#2A35B4 #B42A35 #35B42A
tetradic
#2A35B4 #B42A7A #B4A92A #2AB464
square
#2A35B4 #B42A7A #B4A92A #2AB464
split-complementary
#2A35B4 #B4642A #7AB42A
monochromatic
#131851 #1E2682 #2A35B4 #4752D4 #7981E0
Accessibility & contrast
On white
9.26
#2A35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A35B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A35B4
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A35B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A35B4 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a35b4; /* rgb */ color: rgb(42, 53, 180); /* oklch */ color: oklch(41.5% 0.197 270.6);
Tailwind
colors: {
custom: {
50: '#7a6dcc',
500: '#2a35b4',
950: '#000000',
},
}SCSS
$custom: #2a35b4; $custom-light: #7a6dcc; $custom-dark: #000000;
JSON
{
"hex": "#2a35b4",
"rgb": {
"r": 42,
"g": 53,
"b": 180
},
"hsl": {
"h": 235.217,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.4152,
"c": 0.19677,
"h": 270.6
},
"luminance": 0.06334
}Semantic roles & 50–950 ramp
primary
#2A35B4
secondary
#C8C172
accent
#D843E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82