#2A36A9#2A36A9
#2A36A9 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.182 H 270.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36A9 |
|---|---|
| RGB | rgb(42, 54, 169) |
| HSL | hsl(234, 60%, 41%) |
| HSV | hsv(234, 75%, 66%) |
| CMYK | cmyk(75.1%, 68%, 0%, 33.7%) |
| CIE-LAB | lab(29.40, 35.82, -62.77) |
| CIE-LCH | lch(29.40, 72.27, 299.71°) |
| OKLab | oklab(40.59% 0.0027 -0.1816) |
| OKLCH | oklch(40.59% 0.182 270.8) |
| XYZ | xyz(9.4330, 5.9941, 38.1883) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.12
Blue Blue
#2242C7
ΔE00 5.12
Blueberry
#464196
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.66
Blue With A Hint Of Purple
#533CC6
ΔE00 6.84
Darkslateblue
#483D8B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36A9 #A99D2A
analogous
#2A76A9 #2A36A9 #5E2AA9
triadic
#2A36A9 #A92A36 #36A92A
tetradic
#2A36A9 #A92A76 #A99D2A #2AA95E
square
#2A36A9 #A92A76 #A99D2A #2AA95E
split-complementary
#2A36A9 #A95E2A #76A92A
monochromatic
#121747 #1E2678 #2A36A9 #414ED0 #727CDC
Accessibility & contrast
On white
9.55
#2A36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2A36A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36A9
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36A9 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a36a9; /* rgb */ color: rgb(42, 54, 169); /* oklch */ color: oklch(40.6% 0.182 270.8);
Tailwind
colors: {
custom: {
50: '#786dc4',
500: '#2a36a9',
950: '#000000',
},
}SCSS
$custom: #2a36a9; $custom-light: #786dc4; $custom-dark: #000000;
JSON
{
"hex": "#2a36a9",
"rgb": {
"r": 42,
"g": 54,
"b": 169
},
"hsl": {
"h": 234.331,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.40591,
"c": 0.18161,
"h": 270.8
},
"luminance": 0.05995
}Semantic roles & 50–950 ramp
primary
#2A36A9
secondary
#C3BB6C
accent
#D444E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82