#2A36AF#2A36AF
#2A36AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.189 H 270.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A36AF |
|---|---|
| RGB | rgb(42, 54, 175) |
| HSL | hsl(235, 61%, 43%) |
| HSV | hsv(235, 76%, 69%) |
| CMYK | cmyk(76%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(29.97, 37.96, -65.42) |
| CIE-LCH | lch(29.97, 75.64, 300.12°) |
| OKLab | oklab(41.18% 0.0021 -0.1893) |
| OKLCH | oklch(41.18% 0.189 270.6) |
| XYZ | xyz(10.0092, 6.2246, 41.2231) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.39
Blue Blue
#2242C7
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 5.34
Blueberry
#464196
ΔE00 5.98
Blue With A Hint Of Purple
#533CC6
ΔE00 6.24
Indigo Blue
#3A18B1
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A36AF #AFA32A
analogous
#2A79AF #2A36AF #602AAF
triadic
#2A36AF #AF2A36 #36AF2A
tetradic
#2A36AF #AF2A79 #AFA32A #2AAF60
square
#2A36AF #AF2A79 #AFA32A #2AAF60
split-complementary
#2A36AF #AF602A #79AF2A
monochromatic
#12184C #1E277E #2A36AF #4451D2 #757FDE
Accessibility & contrast
On white
9.35
#2A36AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A36AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A36AF
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A36AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A36AF | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a36af; /* rgb */ color: rgb(42, 54, 175); /* oklch */ color: oklch(41.2% 0.189 270.6);
Tailwind
colors: {
custom: {
50: '#796dc8',
500: '#2a36af',
950: '#000000',
},
}SCSS
$custom: #2a36af; $custom-light: #796dc8; $custom-dark: #000000;
JSON
{
"hex": "#2a36af",
"rgb": {
"r": 42,
"g": 54,
"b": 175
},
"hsl": {
"h": 234.586,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.41182,
"c": 0.18935,
"h": 270.6
},
"luminance": 0.06226
}Semantic roles & 50–950 ramp
primary
#2A36AF
secondary
#C6BE6F
accent
#D643E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82