#2A36A3#2A36A3
#2A36A3 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.174 H 271.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36A3 |
|---|---|
| RGB | rgb(42, 54, 163) |
| HSL | hsl(234, 59%, 40%) |
| HSV | hsv(234, 74%, 64%) |
| CMYK | cmyk(74.2%, 66.9%, 0%, 36.1%) |
| CIE-LAB | lab(28.84, 33.65, -60.08) |
| CIE-LCH | lch(28.84, 68.86, 299.25°) |
| OKLab | oklab(40.01% 0.0032 -0.1737) |
| OKLCH | oklch(40.01% 0.174 271) |
| XYZ | xyz(8.8826, 5.7740, 35.2896) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.42
Blueberry
#464196
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 6.37
Cobalt
#0047AB
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36A3 #A3972A
analogous
#2A72A3 #2A36A3 #5B2AA3
triadic
#2A36A3 #A32A36 #36A32A
tetradic
#2A36A3 #A32A72 #A3972A #2AA35B
square
#2A36A3 #A32A72 #A3972A #2AA35B
split-complementary
#2A36A3 #A35B2A #72A32A
monochromatic
#111642 #1D2672 #2A36A3 #3D4BCD #6E78DA
Accessibility & contrast
On white
9.74
#2A36A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A36A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36A3
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36A3 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a36a3; /* rgb */ color: rgb(42, 54, 163); /* oklch */ color: oklch(40.0% 0.174 271.0);
Tailwind
colors: {
custom: {
50: '#766dbf',
500: '#2a36a3',
950: '#000000',
},
}SCSS
$custom: #2a36a3; $custom-light: #766dbf; $custom-dark: #000000;
JSON
{
"hex": "#2a36a3",
"rgb": {
"r": 42,
"g": 54,
"b": 163
},
"hsl": {
"h": 234.05,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.40009,
"c": 0.17375,
"h": 271
},
"luminance": 0.05775
}Semantic roles & 50–950 ramp
primary
#2A36A3
secondary
#C0B868
accent
#D346E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81