#2B35A2#2B35A2
#2B35A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.173 H 271.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2B35A2 |
|---|---|
| RGB | rgb(43, 53, 162) |
| HSL | hsl(235, 58%, 40%) |
| HSV | hsv(235, 73%, 64%) |
| CMYK | cmyk(73.5%, 67.3%, 0%, 36.5%) |
| CIE-LAB | lab(28.56, 34.04, -59.93) |
| CIE-LCH | lch(28.56, 68.92, 299.60°) |
| OKLab | oklab(39.79% 0.005 -0.1733) |
| OKLCH | oklch(39.79% 0.173 271.6) |
| XYZ | xyz(8.7887, 5.6675, 34.8062) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.73
Blueberry
#464196
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 6.03
Ocean Blue
#4F42B5
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.28
Indigo Blue
#3A18B1
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B35A2 #A2982B
analogous
#2B70A2 #2B35A2 #5C2BA2
triadic
#2B35A2 #A22B35 #35A22B
tetradic
#2B35A2 #A22B70 #A2982B #2BA25C
square
#2B35A2 #A22B70 #A2982B #2BA25C
split-complementary
#2B35A2 #A25C2B #70A22B
monochromatic
#111541 #1E2572 #2B35A2 #3E4ACC #6F78D9
Accessibility & contrast
On white
9.84
#2B35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2B35A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B35A2
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B35A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B35A2 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 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: #2b35a2; /* rgb */ color: rgb(43, 53, 162); /* oklch */ color: oklch(39.8% 0.173 271.6);
Tailwind
colors: {
custom: {
50: '#766cbf',
500: '#2b35a2',
950: '#000000',
},
}SCSS
$custom: #2b35a2; $custom-light: #766cbf; $custom-dark: #000000;
JSON
{
"hex": "#2b35a2",
"rgb": {
"r": 43,
"g": 53,
"b": 162
},
"hsl": {
"h": 234.958,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.39794,
"c": 0.17333,
"h": 271.6
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#2B35A2
secondary
#C0B869
accent
#D447E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81