#2A43C0#2A43C0
#2A43C0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.196 H 268.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43C0 |
|---|---|
| RGB | rgb(42, 67, 192) |
| HSL | hsl(230, 64%, 46%) |
| HSV | hsv(230, 78%, 75%) |
| CMYK | cmyk(78.1%, 65.1%, 0%, 24.7%) |
| CIE-LAB | lab(34.62, 35.89, -67.85) |
| CIE-LCH | lch(34.62, 76.75, 297.88°) |
| OKLab | oklab(45.05% -0.0062 -0.1963) |
| OKLCH | oklch(45.05% 0.196 268.2) |
| XYZ | xyz(12.4731, 8.3109, 50.8057) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 0.95
Blue (survey)
#0343DF
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 4.76
Cobalt
#0047AB
ΔE00 5.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43C0 #C0A72A
analogous
#2A8EC0 #2A43C0 #5C2AC0
triadic
#2A43C0 #C02A43 #43C02A
tetradic
#2A43C0 #C02A8E #C0A72A #2AC05C
square
#2A43C0 #C02A8E #C0A72A #2AC05C
split-complementary
#2A43C0 #C05C2A #8EC02A
monochromatic
#14205C #1F318E #2A43C0 #4F66D8 #8191E3
Accessibility & contrast
On white
7.89
#2A43C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A43C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43C0
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43C0 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a43c0; /* rgb */ color: rgb(42, 67, 192); /* oklch */ color: oklch(45.1% 0.196 268.2);
Tailwind
colors: {
custom: {
50: '#7c77d4',
500: '#2a43c0',
950: '#000000',
},
}SCSS
$custom: #2a43c0; $custom-light: #7c77d4; $custom-dark: #000000;
JSON
{
"hex": "#2a43c0",
"rgb": {
"r": 42,
"g": 67,
"b": 192
},
"hsl": {
"h": 230,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.45053,
"c": 0.19645,
"h": 268.2
},
"luminance": 0.08312
}Semantic roles & 50–950 ramp
primary
#2A43C0
secondary
#CCBE7A
accent
#CB41E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83