#2C43AB#2C43AB
#2C43AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.168 H 268.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2C43AB |
|---|---|
| RGB | rgb(44, 67, 171) |
| HSL | hsl(229, 59%, 42%) |
| HSV | hsv(229, 74%, 67%) |
| CMYK | cmyk(74.3%, 60.8%, 0%, 32.9%) |
| CIE-LAB | lab(32.90, 28.35, -58.24) |
| CIE-LCH | lch(32.90, 64.77, 295.95°) |
| OKLab | oklab(43.24% -0.0039 -0.1682) |
| OKLCH | oklch(43.24% 0.168 268.7) |
| XYZ | xyz(10.3940, 7.4890, 39.4179) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.72
Blue Blue
#2242C7
ΔE00 3.75
Blueberry
#464196
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 5.44
Cobalt (survey)
#1E488F
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C43AB #AB942C
analogous
#2C83AB #2C43AB #552CAB
triadic
#2C43AB #AB2C43 #43AB2C
tetradic
#2C43AB #AB2C83 #AB942C #2CAB55
square
#2C43AB #AB2C83 #AB942C #2CAB55
split-complementary
#2C43AB #AB552C #83AB2C
monochromatic
#131D4A #1F307A #2C43AB #455ECF #7688DC
Accessibility & contrast
On white
8.41
#2C43AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2C43AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C43AB
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C43AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C43AB | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c43ab; /* rgb */ color: rgb(44, 67, 171); /* oklch */ color: oklch(43.2% 0.168 268.7);
Tailwind
colors: {
custom: {
50: '#7876c5',
500: '#2c43ab',
950: '#000000',
},
}SCSS
$custom: #2c43ab; $custom-light: #7876c5; $custom-dark: #000000;
JSON
{
"hex": "#2c43ab",
"rgb": {
"r": 44,
"g": 67,
"b": 171
},
"hsl": {
"h": 229.134,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.43243,
"c": 0.16822,
"h": 268.7
},
"luminance": 0.0749
}Semantic roles & 50–950 ramp
primary
#2C43AB
secondary
#C3B46F
accent
#C646E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82