#2A36A4#2A36A4
#2A36A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.175 H 271.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36A4 |
|---|---|
| RGB | rgb(42, 54, 164) |
| HSL | hsl(234, 59%, 40%) |
| HSV | hsv(234, 74%, 64%) |
| CMYK | cmyk(74.4%, 67.1%, 0%, 35.7%) |
| CIE-LAB | lab(28.93, 34.01, -60.53) |
| CIE-LCH | lch(28.93, 69.43, 299.33°) |
| OKLab | oklab(40.11% 0.0031 -0.175) |
| OKLCH | oklch(40.11% 0.175 271) |
| XYZ | xyz(8.9726, 5.8100, 35.7633) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.34
Blueberry
#464196
ΔE00 5.24
Blue Blue
#2242C7
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.44
Cobalt
#0047AB
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36A4 #A4982A
analogous
#2A73A4 #2A36A4 #5B2AA4
triadic
#2A36A4 #A42A36 #36A42A
tetradic
#2A36A4 #A42A73 #A4982A #2AA45B
square
#2A36A4 #A42A73 #A4982A #2AA45B
split-complementary
#2A36A4 #A45B2A #73A42A
monochromatic
#111643 #1E2673 #2A36A4 #3E4CCD #6E79DA
Accessibility & contrast
On white
9.71
#2A36A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A36A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36A4
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36A4 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a36a4; /* rgb */ color: rgb(42, 54, 164); /* oklch */ color: oklch(40.1% 0.175 271.0);
Tailwind
colors: {
custom: {
50: '#766dc0',
500: '#2a36a4',
950: '#000000',
},
}SCSS
$custom: #2a36a4; $custom-light: #766dc0; $custom-dark: #000000;
JSON
{
"hex": "#2a36a4",
"rgb": {
"r": 42,
"g": 54,
"b": 164
},
"hsl": {
"h": 234.098,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.40105,
"c": 0.17507,
"h": 271
},
"luminance": 0.05811
}Semantic roles & 50–950 ramp
primary
#2A36A4
secondary
#C1B869
accent
#D345E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81