#2A43A4#2A43A4
#2A43A4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.159 H 267.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43A4 |
|---|---|
| RGB | rgb(42, 67, 164) |
| HSL | hsl(228, 59%, 40%) |
| HSV | hsv(228, 74%, 64%) |
| CMYK | cmyk(74.4%, 59.1%, 0%, 35.7%) |
| CIE-LAB | lab(32.23, 25.47, -55.14) |
| CIE-LCH | lch(32.23, 60.74, 294.79°) |
| OKLab | oklab(42.54% -0.0059 -0.1591) |
| OKLCH | oklch(42.54% 0.159 267.9) |
| XYZ | xyz(9.6605, 7.1859, 35.9926) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 3.63
Blue Blue
#2242C7
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 4.83
Blueberry
#464196
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43A4 #A48B2A
analogous
#2A80A4 #2A43A4 #4E2AA4
triadic
#2A43A4 #A42A43 #43A42A
tetradic
#2A43A4 #A42A80 #A48B2A #2AA44E
square
#2A43A4 #A42A80 #A48B2A #2AA44E
split-complementary
#2A43A4 #A44E2A #80A42A
monochromatic
#111B43 #1E2F73 #2A43A4 #3E5BCD #6E84DA
Accessibility & contrast
On white
8.62
#2A43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A43A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43A4
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43A4 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a43a4; /* rgb */ color: rgb(42, 67, 164); /* oklch */ color: oklch(42.5% 0.159 267.9);
Tailwind
colors: {
custom: {
50: '#7576c0',
500: '#2a43a4',
950: '#000000',
},
}SCSS
$custom: #2a43a4; $custom-light: #7576c0; $custom-dark: #000000;
JSON
{
"hex": "#2a43a4",
"rgb": {
"r": 42,
"g": 67,
"b": 164
},
"hsl": {
"h": 227.705,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.4254,
"c": 0.15922,
"h": 267.9
},
"luminance": 0.07187
}Semantic roles & 50–950 ramp
primary
#2A43A4
secondary
#C1AF69
accent
#C245E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81