#2A36B1#2A36B1
#2A36B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.192 H 270.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36B1 |
|---|---|
| RGB | rgb(42, 54, 177) |
| HSL | hsl(235, 62%, 43%) |
| HSV | hsv(235, 76%, 69%) |
| CMYK | cmyk(76.3%, 69.5%, 0%, 30.6%) |
| CIE-LAB | lab(30.17, 38.67, -66.30) |
| CIE-LCH | lch(30.17, 76.75, 300.25°) |
| OKLab | oklab(41.38% 0.0018 -0.1919) |
| OKLCH | oklch(41.38% 0.192 270.5) |
| XYZ | xyz(10.2071, 6.3038, 42.2653) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.57
Blue Blue
#2242C7
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 5.26
Blue With A Hint Of Purple
#533CC6
ΔE00 6.05
Blueberry
#464196
ΔE00 6.14
Blurple
#5539CC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36B1 #B1A52A
analogous
#2A79B1 #2A36B1 #622AB1
triadic
#2A36B1 #B12A36 #36B12A
tetradic
#2A36B1 #B12A79 #B1A52A #2AB162
square
#2A36B1 #B12A79 #B1A52A #2AB162
split-complementary
#2A36B1 #B1622A #79B12A
monochromatic
#13184E #1E2780 #2A36B1 #4552D3 #7780DF
Accessibility & contrast
On white
9.29
#2A36B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A36B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36B1
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36B1 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a36b1; /* rgb */ color: rgb(42, 54, 177); /* oklch */ color: oklch(41.4% 0.192 270.5);
Tailwind
colors: {
custom: {
50: '#7a6dc9',
500: '#2a36b1',
950: '#000000',
},
}SCSS
$custom: #2a36b1; $custom-light: #7a6dc9; $custom-dark: #000000;
JSON
{
"hex": "#2a36b1",
"rgb": {
"r": 42,
"g": 54,
"b": 177
},
"hsl": {
"h": 234.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.41381,
"c": 0.1919,
"h": 270.5
},
"luminance": 0.06305
}Semantic roles & 50–950 ramp
primary
#2A36B1
secondary
#C6BF70
accent
#D643E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82