#2B43AB#2B43AB
#2B43AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.169 H 268.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B43AB |
|---|---|
| RGB | rgb(43, 67, 171) |
| HSL | hsl(229, 60%, 42%) |
| HSV | hsv(229, 75%, 67%) |
| CMYK | cmyk(74.9%, 60.8%, 0%, 32.9%) |
| CIE-LAB | lab(32.85, 28.23, -58.32) |
| CIE-LCH | lch(32.85, 64.79, 295.83°) |
| OKLab | oklab(43.19% -0.0048 -0.1684) |
| OKLCH | oklch(43.19% 0.169 268.4) |
| XYZ | xyz(10.3516, 7.4671, 39.4159) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 3.76
Blueberry
#464196
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 5.55
Cobalt (survey)
#1E488F
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B43AB #AB932B
analogous
#2B83AB #2B43AB #532BAB
triadic
#2B43AB #AB2B43 #43AB2B
tetradic
#2B43AB #AB2B83 #AB932B #2BAB53
square
#2B43AB #AB2B83 #AB932B #2BAB53
split-complementary
#2B43AB #AB532B #83AB2B
monochromatic
#121D49 #1F307A #2B43AB #435ED0 #7488DC
Accessibility & contrast
On white
8.42
#2B43AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2B43AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B43AB
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B43AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B43AB | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b43ab; /* rgb */ color: rgb(43, 67, 171); /* oklch */ color: oklch(43.2% 0.169 268.4);
Tailwind
colors: {
custom: {
50: '#7776c5',
500: '#2b43ab',
950: '#000000',
},
}SCSS
$custom: #2b43ab; $custom-light: #7776c5; $custom-dark: #000000;
JSON
{
"hex": "#2b43ab",
"rgb": {
"r": 43,
"g": 67,
"b": 171
},
"hsl": {
"h": 228.75,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.43194,
"c": 0.1685,
"h": 268.4
},
"luminance": 0.07468
}Semantic roles & 50–950 ramp
primary
#2B43AB
secondary
#C4B46E
accent
#C545E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82