#2A43AA#2A43AA
#2A43AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.167 H 268.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43AA |
|---|---|
| RGB | rgb(42, 67, 170) |
| HSL | hsl(228, 60%, 42%) |
| HSV | hsv(228, 75%, 67%) |
| CMYK | cmyk(75.3%, 60.6%, 0%, 33.3%) |
| CIE-LAB | lab(32.72, 27.73, -57.94) |
| CIE-LCH | lch(32.72, 64.23, 295.58°) |
| OKLab | oklab(43.06% -0.0058 -0.1673) |
| OKLCH | oklch(43.06% 0.167 268) |
| XYZ | xyz(10.2152, 7.4077, 38.9139) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Cobalt
#0047AB
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 3.92
Blueberry
#464196
ΔE00 5.29
Cobalt (survey)
#1E488F
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43AA #AA912A
analogous
#2A83AA #2A43AA #512AAA
triadic
#2A43AA #AA2A43 #43AA2A
tetradic
#2A43AA #AA2A83 #AA912A #2AAA51
square
#2A43AA #AA2A83 #AA912A #2AAA51
split-complementary
#2A43AA #AA512A #83AA2A
monochromatic
#121C48 #1E3079 #2A43AA #415DD0 #7287DC
Accessibility & contrast
On white
8.46
#2A43AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A43AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43AA
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43AA | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a43aa; /* rgb */ color: rgb(42, 67, 170); /* oklch */ color: oklch(43.1% 0.167 268.0);
Tailwind
colors: {
custom: {
50: '#7776c4',
500: '#2a43aa',
950: '#000000',
},
}SCSS
$custom: #2a43aa; $custom-light: #7776c4; $custom-dark: #000000;
JSON
{
"hex": "#2a43aa",
"rgb": {
"r": 42,
"g": 67,
"b": 170
},
"hsl": {
"h": 228.281,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.43059,
"c": 0.16742,
"h": 268
},
"luminance": 0.07409
}Semantic roles & 50–950 ramp
primary
#2A43AA
secondary
#C3B26C
accent
#C444E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82