#2B35A7#2B35A7
#2B35A7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.180 H 271.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B35A7 |
|---|---|
| RGB | rgb(43, 53, 167) |
| HSL | hsl(235, 59%, 41%) |
| HSV | hsv(235, 74%, 65%) |
| CMYK | cmyk(74.3%, 68.3%, 0%, 34.5%) |
| CIE-LAB | lab(29.03, 35.84, -62.17) |
| CIE-LCH | lch(29.03, 71.76, 299.96°) |
| OKLab | oklab(40.28% 0.0045 -0.1798) |
| OKLCH | oklch(40.28% 0.18 271.4) |
| XYZ | xyz(9.2421, 5.8489, 37.1936) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blueberry
#464196
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.70
Indigo Blue
#3A18B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B35A7 #A79D2B
analogous
#2B73A7 #2B35A7 #5F2BA7
triadic
#2B35A7 #A72B35 #35A72B
tetradic
#2B35A7 #A72B73 #A79D2B #2BA75F
square
#2B35A7 #A72B73 #A79D2B #2BA75F
split-complementary
#2B35A7 #A75F2B #73A72B
monochromatic
#121646 #1E2676 #2B35A7 #414CCE #727ADB
Accessibility & contrast
On white
9.68
#2B35A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2B35A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B35A7
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B35A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B35A7 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b35a7; /* rgb */ color: rgb(43, 53, 167); /* oklch */ color: oklch(40.3% 0.180 271.4);
Tailwind
colors: {
custom: {
50: '#786cc2',
500: '#2b35a7',
950: '#000000',
},
}SCSS
$custom: #2b35a7; $custom-light: #786cc2; $custom-dark: #000000;
JSON
{
"hex": "#2b35a7",
"rgb": {
"r": 43,
"g": 53,
"b": 167
},
"hsl": {
"h": 235.161,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.40279,
"c": 0.17989,
"h": 271.4
},
"luminance": 0.0585
}Semantic roles & 50–950 ramp
primary
#2B35A7
secondary
#C2BB6C
accent
#D646E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82