#2A36AA#2A36AA
#2A36AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.183 H 270.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36AA |
|---|---|
| RGB | rgb(42, 54, 170) |
| HSL | hsl(234, 60%, 42%) |
| HSV | hsv(234, 75%, 67%) |
| CMYK | cmyk(75.3%, 68.2%, 0%, 33.3%) |
| CIE-LAB | lab(29.49, 36.17, -63.22) |
| CIE-LCH | lch(29.49, 72.83, 299.78°) |
| OKLab | oklab(40.69% 0.0026 -0.1829) |
| OKLCH | oklch(40.69% 0.183 270.8) |
| XYZ | xyz(9.5272, 6.0318, 38.6846) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.13
Blue Blue
#2242C7
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.60
Blueberry
#464196
ΔE00 5.62
Blue With A Hint Of Purple
#533CC6
ΔE00 6.74
Cobalt
#0047AB
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36AA #AA9E2A
analogous
#2A76AA #2A36AA #5E2AAA
triadic
#2A36AA #AA2A36 #36AA2A
tetradic
#2A36AA #AA2A76 #AA9E2A #2AAA5E
square
#2A36AA #AA2A76 #AA9E2A #2AAA5E
split-complementary
#2A36AA #AA5E2A #76AA2A
monochromatic
#121748 #1E2679 #2A36AA #414FD0 #727CDC
Accessibility & contrast
On white
9.52
#2A36AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2A36AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36AA
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36AA | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a36aa; /* rgb */ color: rgb(42, 54, 170); /* oklch */ color: oklch(40.7% 0.183 270.8);
Tailwind
colors: {
custom: {
50: '#786dc4',
500: '#2a36aa',
950: '#000000',
},
}SCSS
$custom: #2a36aa; $custom-light: #786dc4; $custom-dark: #000000;
JSON
{
"hex": "#2a36aa",
"rgb": {
"r": 42,
"g": 54,
"b": 170
},
"hsl": {
"h": 234.375,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.40688,
"c": 0.18291,
"h": 270.8
},
"luminance": 0.06033
}Semantic roles & 50–950 ramp
primary
#2A36AA
secondary
#C3BB6C
accent
#D544E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82