#2A36B4#2A36B4
#2A36B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.196 H 270.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36B4 |
|---|---|
| RGB | rgb(42, 54, 180) |
| HSL | hsl(235, 62%, 44%) |
| HSV | hsv(235, 77%, 71%) |
| CMYK | cmyk(76.7%, 70%, 0%, 29.4%) |
| CIE-LAB | lab(30.46, 39.73, -67.60) |
| CIE-LCH | lch(30.46, 78.41, 300.44°) |
| OKLab | oklab(41.68% 0.0015 -0.1957) |
| OKLCH | oklch(41.68% 0.196 270.4) |
| XYZ | xyz(10.5094, 6.4247, 43.8574) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.88
Blue Blue
#2242C7
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 5.16
Blue With A Hint Of Purple
#533CC6
ΔE00 5.78
Blurple
#5539CC
ΔE00 6.35
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36B4 #B4A82A
analogous
#2A7BB4 #2A36B4 #632AB4
triadic
#2A36B4 #B42A36 #36B42A
tetradic
#2A36B4 #B42A7B #B4A82A #2AB463
square
#2A36B4 #B42A7B #B4A82A #2AB463
split-complementary
#2A36B4 #B4632A #7BB42A
monochromatic
#131851 #1E2782 #2A36B4 #4753D4 #7982E0
Accessibility & contrast
On white
9.19
#2A36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A36B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36B4
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36B4 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a36b4; /* rgb */ color: rgb(42, 54, 180); /* oklch */ color: oklch(41.7% 0.196 270.4);
Tailwind
colors: {
custom: {
50: '#7a6dcc',
500: '#2a36b4',
950: '#000000',
},
}SCSS
$custom: #2a36b4; $custom-light: #7a6dcc; $custom-dark: #000000;
JSON
{
"hex": "#2a36b4",
"rgb": {
"r": 42,
"g": 54,
"b": 180
},
"hsl": {
"h": 234.783,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.41681,
"c": 0.1957,
"h": 270.4
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#2A36B4
secondary
#C8C072
accent
#D743E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82