#2A36AB#2A36AB
#2A36AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.184 H 270.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36AB |
|---|---|
| RGB | rgb(42, 54, 171) |
| HSL | hsl(234, 61%, 42%) |
| HSV | hsv(234, 75%, 67%) |
| CMYK | cmyk(75.4%, 68.4%, 0%, 32.9%) |
| CIE-LAB | lab(29.59, 36.53, -63.66) |
| CIE-LCH | lch(29.59, 73.40, 299.85°) |
| OKLab | oklab(40.79% 0.0025 -0.1842) |
| OKLCH | oklch(40.79% 0.184 270.8) |
| XYZ | xyz(9.6222, 6.0698, 39.1847) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.15
Blue Blue
#2242C7
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 5.54
Blueberry
#464196
ΔE00 5.69
Blue With A Hint Of Purple
#533CC6
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36AB #AB9F2A
analogous
#2A76AB #2A36AB #5F2AAB
triadic
#2A36AB #AB2A36 #36AB2A
tetradic
#2A36AB #AB2A76 #AB9F2A #2AAB5F
square
#2A36AB #AB2A76 #AB9F2A #2AAB5F
split-complementary
#2A36AB #AB5F2A #76AB2A
monochromatic
#121749 #1E267A #2A36AB #424FD1 #737DDD
Accessibility & contrast
On white
9.48
#2A36AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2A36AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36AB
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36AB | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a36ab; /* rgb */ color: rgb(42, 54, 171); /* oklch */ color: oklch(40.8% 0.184 270.8);
Tailwind
colors: {
custom: {
50: '#786dc5',
500: '#2a36ab',
950: '#000000',
},
}SCSS
$custom: #2a36ab; $custom-light: #786dc5; $custom-dark: #000000;
JSON
{
"hex": "#2a36ab",
"rgb": {
"r": 42,
"g": 54,
"b": 171
},
"hsl": {
"h": 234.419,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.40786,
"c": 0.18421,
"h": 270.8
},
"luminance": 0.06071
}Semantic roles & 50–950 ramp
primary
#2A36AB
secondary
#C4BC6D
accent
#D544E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82