#2A36B5#2A36B5
#2A36B5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.197 H 270.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36B5 |
|---|---|
| RGB | rgb(42, 54, 181) |
| HSL | hsl(235, 62%, 44%) |
| HSV | hsv(235, 77%, 71%) |
| CMYK | cmyk(76.8%, 70.2%, 0%, 29%) |
| CIE-LAB | lab(30.56, 40.08, -68.03) |
| CIE-LCH | lch(30.56, 78.96, 300.50°) |
| OKLab | oklab(41.78% 0.0014 -0.1969) |
| OKLCH | oklch(41.78% 0.197 270.4) |
| XYZ | xyz(10.6117, 6.4656, 44.3958) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.99
Blue Blue
#2242C7
ΔE00 4.10
Ocean Blue
#4F42B5
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 5.70
Blurple
#5539CC
ΔE00 6.25
Blue (survey)
#0343DF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36B5 #B5A92A
analogous
#2A7BB5 #2A36B5 #632AB5
triadic
#2A36B5 #B52A36 #36B52A
tetradic
#2A36B5 #B52A7B #B5A92A #2AB563
square
#2A36B5 #B52A7B #B5A92A #2AB563
split-complementary
#2A36B5 #B5632A #7BB52A
monochromatic
#131852 #1E2783 #2A36B5 #4854D4 #7982E0
Accessibility & contrast
On white
9.16
#2A36B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A36B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36B5
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36B5 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a36b5; /* rgb */ color: rgb(42, 54, 181); /* oklch */ color: oklch(41.8% 0.197 270.4);
Tailwind
colors: {
custom: {
50: '#7b6ecc',
500: '#2a36b5',
950: '#000000',
},
}SCSS
$custom: #2a36b5; $custom-light: #7b6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a36b5",
"rgb": {
"r": 42,
"g": 54,
"b": 181
},
"hsl": {
"h": 234.82,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.41782,
"c": 0.19695,
"h": 270.4
},
"luminance": 0.06467
}Semantic roles & 50–950 ramp
primary
#2A36B5
secondary
#C8C173
accent
#D742E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82