#2A36A8#2A36A8
#2A36A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.180 H 270.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36A8 |
|---|---|
| RGB | rgb(42, 54, 168) |
| HSL | hsl(234, 60%, 41%) |
| HSV | hsv(234, 75%, 66%) |
| CMYK | cmyk(75%, 67.9%, 0%, 34.1%) |
| CIE-LAB | lab(29.30, 35.46, -62.33) |
| CIE-LCH | lch(29.30, 71.71, 299.63°) |
| OKLab | oklab(40.49% 0.0027 -0.1803) |
| OKLCH | oklch(40.49% 0.18 270.9) |
| XYZ | xyz(9.3395, 5.9567, 37.6958) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.13
Blue Blue
#2242C7
ΔE00 5.22
Blueberry
#464196
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.78
Cobalt
#0047AB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36A8 #A89C2A
analogous
#2A75A8 #2A36A8 #5D2AA8
triadic
#2A36A8 #A82A36 #36A82A
tetradic
#2A36A8 #A82A75 #A89C2A #2AA85D
square
#2A36A8 #A82A75 #A89C2A #2AA85D
split-complementary
#2A36A8 #A85D2A #75A82A
monochromatic
#121746 #1E2677 #2A36A8 #404ECF #717BDB
Accessibility & contrast
On white
9.58
#2A36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2A36A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36A8
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36A8 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a36a8; /* rgb */ color: rgb(42, 54, 168); /* oklch */ color: oklch(40.5% 0.180 270.9);
Tailwind
colors: {
custom: {
50: '#776dc3',
500: '#2a36a8',
950: '#000000',
},
}SCSS
$custom: #2a36a8; $custom-light: #776dc3; $custom-dark: #000000;
JSON
{
"hex": "#2a36a8",
"rgb": {
"r": 42,
"g": 54,
"b": 168
},
"hsl": {
"h": 234.286,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.40493,
"c": 0.18031,
"h": 270.9
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#2A36A8
secondary
#C3BA6B
accent
#D445E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82