#2A36B3#2A36B3
#2A36B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.194 H 270.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36B3 |
|---|---|
| RGB | rgb(42, 54, 179) |
| HSL | hsl(235, 62%, 43%) |
| HSV | hsv(235, 77%, 70%) |
| CMYK | cmyk(76.5%, 69.8%, 0%, 29.8%) |
| CIE-LAB | lab(30.36, 39.38, -67.17) |
| CIE-LCH | lch(30.36, 77.86, 300.38°) |
| OKLab | oklab(41.58% 0.0016 -0.1944) |
| OKLCH | oklch(41.58% 0.194 270.5) |
| XYZ | xyz(10.4079, 6.3841, 43.3228) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blue Blue
#2242C7
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 5.19
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
Blueberry
#464196
ΔE00 6.30
Blurple
#5539CC
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36B3 #B3A72A
analogous
#2A7AB3 #2A36B3 #632AB3
triadic
#2A36B3 #B32A36 #36B32A
tetradic
#2A36B3 #B32A7A #B3A72A #2AB363
square
#2A36B3 #B32A7A #B3A72A #2AB363
split-complementary
#2A36B3 #B3632A #7AB32A
monochromatic
#131850 #1E2781 #2A36B3 #4653D4 #7881DF
Accessibility & contrast
On white
9.22
#2A36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2A36B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36B3
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36B3 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a36b3; /* rgb */ color: rgb(42, 54, 179); /* oklch */ color: oklch(41.6% 0.194 270.5);
Tailwind
colors: {
custom: {
50: '#7a6dcb',
500: '#2a36b3',
950: '#000000',
},
}SCSS
$custom: #2a36b3; $custom-light: #7a6dcb; $custom-dark: #000000;
JSON
{
"hex": "#2a36b3",
"rgb": {
"r": 42,
"g": 54,
"b": 179
},
"hsl": {
"h": 234.745,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.41581,
"c": 0.19444,
"h": 270.5
},
"luminance": 0.06385
}Semantic roles & 50–950 ramp
primary
#2A36B3
secondary
#C7C072
accent
#D743E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82