#2A36B0#2A36B0
#2A36B0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.191 H 270.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36B0 |
|---|---|
| RGB | rgb(42, 54, 176) |
| HSL | hsl(235, 61%, 43%) |
| HSV | hsv(235, 76%, 69%) |
| CMYK | cmyk(76.1%, 69.3%, 0%, 31%) |
| CIE-LAB | lab(30.07, 38.31, -65.86) |
| CIE-LCH | lch(30.07, 76.19, 300.19°) |
| OKLab | oklab(41.28% 0.002 -0.1906) |
| OKLCH | oklch(41.28% 0.191 270.6) |
| XYZ | xyz(10.1078, 6.2641, 41.7423) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.48
Blue Blue
#2242C7
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 5.30
Blueberry
#464196
ΔE00 6.06
Blue With A Hint Of Purple
#533CC6
ΔE00 6.14
Blurple
#5539CC
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36B0 #B0A42A
analogous
#2A79B0 #2A36B0 #612AB0
triadic
#2A36B0 #B02A36 #36B02A
tetradic
#2A36B0 #B02A79 #B0A42A #2AB061
square
#2A36B0 #B02A79 #B0A42A #2AB061
split-complementary
#2A36B0 #B0612A #79B02A
monochromatic
#12184D #1E277F #2A36B0 #4551D3 #767FDE
Accessibility & contrast
On white
9.32
#2A36B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A36B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36B0
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36B0 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a36b0; /* rgb */ color: rgb(42, 54, 176); /* oklch */ color: oklch(41.3% 0.191 270.6);
Tailwind
colors: {
custom: {
50: '#796dc9',
500: '#2a36b0',
950: '#000000',
},
}SCSS
$custom: #2a36b0; $custom-light: #796dc9; $custom-dark: #000000;
JSON
{
"hex": "#2a36b0",
"rgb": {
"r": 42,
"g": 54,
"b": 176
},
"hsl": {
"h": 234.627,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.41281,
"c": 0.19062,
"h": 270.6
},
"luminance": 0.06265
}Semantic roles & 50–950 ramp
primary
#2A36B0
secondary
#C6BE70
accent
#D643E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82