#2C43A2#2C43A2
#2C43A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.156 H 268.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C43A2 |
|---|---|
| RGB | rgb(44, 67, 162) |
| HSL | hsl(228, 57%, 40%) |
| HSV | hsv(228, 73%, 64%) |
| CMYK | cmyk(72.8%, 58.6%, 0%, 36.5%) |
| CIE-LAB | lab(32.16, 24.97, -54.03) |
| CIE-LCH | lch(32.16, 59.53, 294.81°) |
| OKLab | oklab(42.47% -0.004 -0.1558) |
| OKLCH | oklch(42.47% 0.156 268.5) |
| XYZ | xyz(9.5652, 7.1574, 35.0528) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.56
Sapphire (survey)
#2138AB
ΔE00 3.74
Blueberry
#464196
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C43A2 #A28B2C
analogous
#2C7EA2 #2C43A2 #502CA2
triadic
#2C43A2 #A22C43 #43A22C
tetradic
#2C43A2 #A22C7E #A28B2C #2CA250
square
#2C43A2 #A22C7E #A28B2C #2CA250
split-complementary
#2C43A2 #A2502C #7EA22C
monochromatic
#121B42 #1F2F72 #2C43A2 #405BCB #7084D8
Accessibility & contrast
On white
8.64
#2C43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2C43A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C43A2
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C43A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C43A2 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c43a2; /* rgb */ color: rgb(44, 67, 162); /* oklch */ color: oklch(42.5% 0.156 268.5);
Tailwind
colors: {
custom: {
50: '#7676be',
500: '#2c43a2',
950: '#000000',
},
}SCSS
$custom: #2c43a2; $custom-light: #7676be; $custom-dark: #000000;
JSON
{
"hex": "#2c43a2",
"rgb": {
"r": 44,
"g": 67,
"b": 162
},
"hsl": {
"h": 228.305,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.42469,
"c": 0.15587,
"h": 268.5
},
"luminance": 0.07158
}Semantic roles & 50–950 ramp
primary
#2C43A2
secondary
#BFAF6A
accent
#C347E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81