#2B35A4#2B35A4
#2B35A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.176 H 271.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2B35A4 |
|---|---|
| RGB | rgb(43, 53, 164) |
| HSL | hsl(235, 58%, 41%) |
| HSV | hsv(235, 74%, 64%) |
| CMYK | cmyk(73.8%, 67.7%, 0%, 35.7%) |
| CIE-LAB | lab(28.74, 34.76, -60.83) |
| CIE-LCH | lch(28.74, 70.06, 299.75°) |
| OKLab | oklab(39.99% 0.0048 -0.1759) |
| OKLCH | oklch(39.99% 0.176 271.6) |
| XYZ | xyz(8.9679, 5.7392, 35.7499) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.58
Blueberry
#464196
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.00
Darkslateblue
#483D8B
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B35A4 #A49A2B
analogous
#2B71A4 #2B35A4 #5D2BA4
triadic
#2B35A4 #A42B35 #35A42B
tetradic
#2B35A4 #A42B71 #A49A2B #2BA45D
square
#2B35A4 #A42B71 #A49A2B #2BA45D
split-complementary
#2B35A4 #A45D2B #71A42B
monochromatic
#121643 #1E2574 #2B35A4 #3F4BCD #7079D9
Accessibility & contrast
On white
9.78
#2B35A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2B35A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B35A4
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B35A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B35A4 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b35a4; /* rgb */ color: rgb(43, 53, 164); /* oklch */ color: oklch(40.0% 0.176 271.6);
Tailwind
colors: {
custom: {
50: '#776cc0',
500: '#2b35a4',
950: '#000000',
},
}SCSS
$custom: #2b35a4; $custom-light: #776cc0; $custom-dark: #000000;
JSON
{
"hex": "#2b35a4",
"rgb": {
"r": 43,
"g": 53,
"b": 164
},
"hsl": {
"h": 235.041,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.39987,
"c": 0.17596,
"h": 271.6
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#2B35A4
secondary
#C1B96A
accent
#D546E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81