#2A43B5#2A43B5
#2A43B5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.182 H 268.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43B5 |
|---|---|
| RGB | rgb(42, 67, 181) |
| HSL | hsl(229, 62%, 44%) |
| HSV | hsv(229, 77%, 71%) |
| CMYK | cmyk(76.8%, 63%, 0%, 29%) |
| CIE-LAB | lab(33.65, 31.84, -62.96) |
| CIE-LCH | lch(33.65, 70.55, 296.83°) |
| OKLab | oklab(44.04% -0.0059 -0.182) |
| OKLCH | oklch(44.04% 0.182 268.2) |
| XYZ | xyz(11.2996, 7.8415, 44.6251) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.37
Sapphire (survey)
#2138AB
ΔE00 3.40
Cobalt
#0047AB
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43B5 #B59C2A
analogous
#2A88B5 #2A43B5 #562AB5
triadic
#2A43B5 #B52A43 #43B52A
tetradic
#2A43B5 #B52A88 #B59C2A #2AB556
square
#2A43B5 #B52A88 #B59C2A #2AB556
split-complementary
#2A43B5 #B5562A #88B52A
monochromatic
#131E52 #1E3183 #2A43B5 #4861D4 #798CE0
Accessibility & contrast
On white
8.18
#2A43B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A43B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43B5
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43B5 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a43b5; /* rgb */ color: rgb(42, 67, 181); /* oklch */ color: oklch(44.0% 0.182 268.2);
Tailwind
colors: {
custom: {
50: '#7977cc',
500: '#2a43b5',
950: '#000000',
},
}SCSS
$custom: #2a43b5; $custom-light: #7977cc; $custom-dark: #000000;
JSON
{
"hex": "#2a43b5",
"rgb": {
"r": 42,
"g": 67,
"b": 181
},
"hsl": {
"h": 229.209,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.4404,
"c": 0.18213,
"h": 268.2
},
"luminance": 0.07843
}Semantic roles & 50–950 ramp
primary
#2A43B5
secondary
#C8B973
accent
#C842E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82