#2A36A7#2A36A7
#2A36A7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.179 H 270.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36A7 |
|---|---|
| RGB | rgb(42, 54, 167) |
| HSL | hsl(234, 60%, 41%) |
| HSV | hsv(234, 75%, 65%) |
| CMYK | cmyk(74.9%, 67.7%, 0%, 34.5%) |
| CIE-LAB | lab(29.21, 35.10, -61.88) |
| CIE-LCH | lch(29.21, 71.14, 299.56°) |
| OKLab | oklab(40.4% 0.0028 -0.179) |
| OKLCH | oklch(40.4% 0.179 270.9) |
| XYZ | xyz(9.2467, 5.9196, 37.2070) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.16
Blue Blue
#2242C7
ΔE00 5.32
Blueberry
#464196
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.69
Cobalt
#0047AB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36A7 #A79B2A
analogous
#2A74A7 #2A36A7 #5C2AA7
triadic
#2A36A7 #A72A36 #36A72A
tetradic
#2A36A7 #A72A74 #A79B2A #2AA75C
square
#2A36A7 #A72A74 #A79B2A #2AA75C
split-complementary
#2A36A7 #A75C2A #74A72A
monochromatic
#111645 #1E2676 #2A36A7 #3F4DCF #707BDB
Accessibility & contrast
On white
9.61
#2A36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2A36A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36A7
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36A7 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a36a7; /* rgb */ color: rgb(42, 54, 167); /* oklch */ color: oklch(40.4% 0.179 270.9);
Tailwind
colors: {
custom: {
50: '#776dc2',
500: '#2a36a7',
950: '#000000',
},
}SCSS
$custom: #2a36a7; $custom-light: #776dc2; $custom-dark: #000000;
JSON
{
"hex": "#2a36a7",
"rgb": {
"r": 42,
"g": 54,
"b": 167
},
"hsl": {
"h": 234.24,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.40396,
"c": 0.17901,
"h": 270.9
},
"luminance": 0.05921
}Semantic roles & 50–950 ramp
primary
#2A36A7
secondary
#C2BA6B
accent
#D445E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82