#2A43A5#2A43A5
#2A43A5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.161 H 267.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43A5 |
|---|---|
| RGB | rgb(42, 67, 165) |
| HSL | hsl(228, 59%, 41%) |
| HSV | hsv(228, 75%, 65%) |
| CMYK | cmyk(74.5%, 59.4%, 0%, 35.3%) |
| CIE-LAB | lab(32.31, 25.85, -55.61) |
| CIE-LCH | lch(32.31, 61.32, 294.93°) |
| OKLab | oklab(42.63% -0.0058 -0.1605) |
| OKLCH | oklch(42.63% 0.161 267.9) |
| XYZ | xyz(9.7512, 7.2221, 36.4701) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 3.57
Blue Blue
#2242C7
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 4.95
Blueberry
#464196
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43A5 #A58C2A
analogous
#2A80A5 #2A43A5 #4E2AA5
triadic
#2A43A5 #A52A43 #43A52A
tetradic
#2A43A5 #A52A80 #A58C2A #2AA54E
square
#2A43A5 #A52A80 #A58C2A #2AA54E
split-complementary
#2A43A5 #A54E2A #80A52A
monochromatic
#111B43 #1E2F74 #2A43A5 #3E5BCE #6F85DA
Accessibility & contrast
On white
8.59
#2A43A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A43A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43A5
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43A5 | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a43a5; /* rgb */ color: rgb(42, 67, 165); /* oklch */ color: oklch(42.6% 0.161 267.9);
Tailwind
colors: {
custom: {
50: '#7676c0',
500: '#2a43a5',
950: '#000000',
},
}SCSS
$custom: #2a43a5; $custom-light: #7676c0; $custom-dark: #000000;
JSON
{
"hex": "#2a43a5",
"rgb": {
"r": 42,
"g": 67,
"b": 165
},
"hsl": {
"h": 227.805,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.42626,
"c": 0.1606,
"h": 267.9
},
"luminance": 0.07223
}Semantic roles & 50–950 ramp
primary
#2A43A5
secondary
#C1AF69
accent
#C345E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81