#2B35A8#2B35A8
#2B35A8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.181 H 271.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2B35A8 |
|---|---|
| RGB | rgb(43, 53, 168) |
| HSL | hsl(235, 59%, 41%) |
| HSV | hsv(235, 74%, 66%) |
| CMYK | cmyk(74.4%, 68.5%, 0%, 34.1%) |
| CIE-LAB | lab(29.12, 36.19, -62.62) |
| CIE-LCH | lch(29.12, 72.33, 300.03°) |
| OKLab | oklab(40.38% 0.0044 -0.1811) |
| OKLCH | oklch(40.38% 0.181 271.4) |
| XYZ | xyz(9.3349, 5.8860, 37.6823) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.43
Blue Blue
#2242C7
ΔE00 5.41
Blueberry
#464196
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 5.74
Indigo Blue
#3A18B1
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B35A8 #A89E2B
analogous
#2B74A8 #2B35A8 #602BA8
triadic
#2B35A8 #A82B35 #35A82B
tetradic
#2B35A8 #A82B74 #A89E2B #2BA860
square
#2B35A8 #A82B74 #A89E2B #2BA860
split-complementary
#2B35A8 #A8602B #74A82B
monochromatic
#121647 #1F2677 #2B35A8 #424DCF #727BDB
Accessibility & contrast
On white
9.64
#2B35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2B35A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B35A8
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B35A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B35A8 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b35a8; /* rgb */ color: rgb(43, 53, 168); /* oklch */ color: oklch(40.4% 0.181 271.4);
Tailwind
colors: {
custom: {
50: '#786cc3',
500: '#2b35a8',
950: '#000000',
},
}SCSS
$custom: #2b35a8; $custom-light: #786cc3; $custom-dark: #000000;
JSON
{
"hex": "#2b35a8",
"rgb": {
"r": 43,
"g": 53,
"b": 168
},
"hsl": {
"h": 235.2,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.40377,
"c": 0.18118,
"h": 271.4
},
"luminance": 0.05887
}Semantic roles & 50–950 ramp
primary
#2B35A8
secondary
#C2BB6C
accent
#D645E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82