#2B43AC#2B43AC
#2B43AC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.170 H 268.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B43AC |
|---|---|
| RGB | rgb(43, 67, 172) |
| HSL | hsl(229, 60%, 42%) |
| HSV | hsv(229, 75%, 67%) |
| CMYK | cmyk(75%, 61%, 0%, 32.5%) |
| CIE-LAB | lab(32.93, 28.60, -58.78) |
| CIE-LCH | lch(32.93, 65.37, 295.95°) |
| OKLab | oklab(43.28% -0.0048 -0.1698) |
| OKLCH | oklch(43.28% 0.17 268.4) |
| XYZ | xyz(10.4472, 7.5053, 39.9198) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 3.62
Cobalt
#0047AB
ΔE00 3.66
Blueberry
#464196
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B43AC #AC942B
analogous
#2B84AC #2B43AC #532BAC
triadic
#2B43AC #AC2B43 #43AC2B
tetradic
#2B43AC #AC2B84 #AC942B #2BAC53
square
#2B43AC #AC2B84 #AC942B #2BAC53
split-complementary
#2B43AC #AC532B #84AC2B
monochromatic
#131D4A #1F307B #2B43AC #445ED0 #7588DC
Accessibility & contrast
On white
8.40
#2B43AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2B43AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B43AC
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B43AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B43AC | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b43ac; /* rgb */ color: rgb(43, 67, 172); /* oklch */ color: oklch(43.3% 0.170 268.4);
Tailwind
colors: {
custom: {
50: '#7876c6',
500: '#2b43ac',
950: '#000000',
},
}SCSS
$custom: #2b43ac; $custom-light: #7876c6; $custom-dark: #000000;
JSON
{
"hex": "#2b43ac",
"rgb": {
"r": 43,
"g": 67,
"b": 172
},
"hsl": {
"h": 228.837,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.43282,
"c": 0.16985,
"h": 268.4
},
"luminance": 0.07506
}Semantic roles & 50–950 ramp
primary
#2B43AC
secondary
#C4B46F
accent
#C645E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82