#2A43B1#2A43B1
#2A43B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.177 H 268.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43B1 |
|---|---|
| RGB | rgb(42, 67, 177) |
| HSL | hsl(229, 62%, 43%) |
| HSV | hsv(229, 76%, 69%) |
| CMYK | cmyk(76.3%, 62.1%, 0%, 30.6%) |
| CIE-LAB | lab(33.31, 30.36, -61.15) |
| CIE-LCH | lch(33.31, 68.27, 296.40°) |
| OKLab | oklab(43.68% -0.0058 -0.1767) |
| OKLCH | oklch(43.68% 0.177 268.1) |
| XYZ | xyz(10.8951, 7.6797, 42.4946) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.92
Sapphire (survey)
#2138AB
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.85
Ocean Blue
#4F42B5
ΔE00 5.24
Blue (survey)
#0343DF
ΔE00 5.69
Blueberry
#464196
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43B1 #B1982A
analogous
#2A86B1 #2A43B1 #542AB1
triadic
#2A43B1 #B12A43 #43B12A
tetradic
#2A43B1 #B12A86 #B1982A #2AB154
square
#2A43B1 #B12A86 #B1982A #2AB154
split-complementary
#2A43B1 #B1542A #86B12A
monochromatic
#131E4E #1E3080 #2A43B1 #4560D3 #778ADF
Accessibility & contrast
On white
8.28
#2A43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A43B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43B1
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43B1 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a43b1; /* rgb */ color: rgb(42, 67, 177); /* oklch */ color: oklch(43.7% 0.177 268.1);
Tailwind
colors: {
custom: {
50: '#7877c9',
500: '#2a43b1',
950: '#000000',
},
}SCSS
$custom: #2a43b1; $custom-light: #7877c9; $custom-dark: #000000;
JSON
{
"hex": "#2a43b1",
"rgb": {
"r": 42,
"g": 67,
"b": 177
},
"hsl": {
"h": 228.889,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.43679,
"c": 0.17683,
"h": 268.1
},
"luminance": 0.07681
}Semantic roles & 50–950 ramp
primary
#2A43B1
secondary
#C6B670
accent
#C743E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82