#2A43A2#2A43A2
#2A43A2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.156 H 267.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43A2 |
|---|---|
| RGB | rgb(42, 67, 162) |
| HSL | hsl(228, 59%, 40%) |
| HSV | hsv(228, 74%, 64%) |
| CMYK | cmyk(74.1%, 58.6%, 0%, 36.5%) |
| CIE-LAB | lab(32.07, 24.71, -54.20) |
| CIE-LCH | lch(32.07, 59.56, 294.51°) |
| OKLab | oklab(42.37% -0.0059 -0.1563) |
| OKLCH | oklch(42.37% 0.156 267.8) |
| XYZ | xyz(9.4813, 7.1142, 35.0489) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 3.78
Cobalt (survey)
#1E488F
ΔE00 4.61
Blueberry
#464196
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.09
Sapphire
#0F52BA
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43A2 #A2892A
analogous
#2A7FA2 #2A43A2 #4D2AA2
triadic
#2A43A2 #A22A43 #43A22A
tetradic
#2A43A2 #A22A7F #A2892A #2AA24D
square
#2A43A2 #A22A7F #A2892A #2AA24D
split-complementary
#2A43A2 #A24D2A #7FA22A
monochromatic
#111B41 #1D2F71 #2A43A2 #3D5BCD #6D84D9
Accessibility & contrast
On white
8.67
#2A43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2A43A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43A2
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43A2 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a43a2; /* rgb */ color: rgb(42, 67, 162); /* oklch */ color: oklch(42.4% 0.156 267.8);
Tailwind
colors: {
custom: {
50: '#7576be',
500: '#2a43a2',
950: '#000000',
},
}SCSS
$custom: #2a43a2; $custom-light: #7576be; $custom-dark: #000000;
JSON
{
"hex": "#2a43a2",
"rgb": {
"r": 42,
"g": 67,
"b": 162
},
"hsl": {
"h": 227.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.42369,
"c": 0.15645,
"h": 267.8
},
"luminance": 0.07115
}Semantic roles & 50–950 ramp
primary
#2A43A2
secondary
#C0AE68
accent
#C146E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81