#2B34A7#2B34A7
#2B34A7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.181 H 271.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2B34A7 |
|---|---|
| RGB | rgb(43, 52, 167) |
| HSL | hsl(236, 59%, 41%) |
| HSV | hsv(236, 74%, 65%) |
| CMYK | cmyk(74.3%, 68.9%, 0%, 34.5%) |
| CIE-LAB | lab(28.80, 36.46, -62.56) |
| CIE-LCH | lch(28.80, 72.41, 300.24°) |
| OKLab | oklab(40.11% 0.0051 -0.1809) |
| OKLCH | oklch(40.11% 0.181 271.6) |
| XYZ | xyz(9.1969, 5.7586, 37.1786) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.67
Blueberry
#464196
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B34A7 #A79E2B
analogous
#2B72A7 #2B34A7 #602BA7
triadic
#2B34A7 #A72B34 #34A72B
tetradic
#2B34A7 #A72B72 #A79E2B #2BA760
square
#2B34A7 #A72B72 #A79E2B #2BA760
split-complementary
#2B34A7 #A7602B #72A72B
monochromatic
#121646 #1E2576 #2B34A7 #414BCE #7279DB
Accessibility & contrast
On white
9.76
#2B34A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2B34A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B34A7
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B34A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B34A7 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b34a7; /* rgb */ color: rgb(43, 52, 167); /* oklch */ color: oklch(40.1% 0.181 271.6);
Tailwind
colors: {
custom: {
50: '#786cc2',
500: '#2b34a7',
950: '#000000',
},
}SCSS
$custom: #2b34a7; $custom-light: #786cc2; $custom-dark: #000000;
JSON
{
"hex": "#2b34a7",
"rgb": {
"r": 43,
"g": 52,
"b": 167
},
"hsl": {
"h": 235.645,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.4011,
"c": 0.18102,
"h": 271.6
},
"luminance": 0.0576
}Semantic roles & 50–950 ramp
primary
#2B34A7
secondary
#C2BC6C
accent
#D746E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82