#2A36B7#2A36B7
#2A36B7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.199 H 270.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36B7 |
|---|---|
| RGB | rgb(42, 54, 183) |
| HSL | hsl(235, 63%, 44%) |
| HSV | hsv(235, 77%, 72%) |
| CMYK | cmyk(77%, 70.5%, 0%, 28.2%) |
| CIE-LAB | lab(30.76, 40.78, -68.89) |
| CIE-LCH | lch(30.76, 80.06, 300.62°) |
| OKLab | oklab(41.98% 0.0012 -0.1995) |
| OKLCH | oklch(41.98% 0.199 270.3) |
| XYZ | xyz(10.8183, 6.5483, 45.4843) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Blue Blue
#2242C7
ΔE00 3.97
Ocean Blue
#4F42B5
ΔE00 5.09
Blue With A Hint Of Purple
#533CC6
ΔE00 5.53
Blurple
#5539CC
ΔE00 6.06
Blue (survey)
#0343DF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36B7 #B7AB2A
analogous
#2A7DB7 #2A36B7 #652AB7
triadic
#2A36B7 #B72A36 #36B72A
tetradic
#2A36B7 #B72A7D #B7AB2A #2AB765
square
#2A36B7 #B72A7D #B7AB2A #2AB765
split-complementary
#2A36B7 #B7652A #7DB72A
monochromatic
#131953 #1F2785 #2A36B7 #4955D5 #7B83E1
Accessibility & contrast
On white
9.09
#2A36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2A36B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36B7
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36B7 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a36b7; /* rgb */ color: rgb(42, 54, 183); /* oklch */ color: oklch(42.0% 0.199 270.3);
Tailwind
colors: {
custom: {
50: '#7b6ece',
500: '#2a36b7',
950: '#000000',
},
}SCSS
$custom: #2a36b7; $custom-light: #7b6ece; $custom-dark: #000000;
JSON
{
"hex": "#2a36b7",
"rgb": {
"r": 42,
"g": 54,
"b": 183
},
"hsl": {
"h": 234.894,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.41983,
"c": 0.19947,
"h": 270.3
},
"luminance": 0.06549
}Semantic roles & 50–950 ramp
primary
#2A36B7
secondary
#C9C274
accent
#D842E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82