#2E52AD#2E52AD
#2E52AD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.152 H 264.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52AD |
|---|---|
| RGB | rgb(46, 82, 173) |
| HSL | hsl(223, 58%, 43%) |
| HSV | hsv(223, 73%, 68%) |
| CMYK | cmyk(73.4%, 52.6%, 0%, 32.2%) |
| CIE-LAB | lab(37.17, 19.42, -52.48) |
| CIE-LCH | lch(37.17, 55.96, 290.31°) |
| OKLab | oklab(46.53% -0.0137 -0.151) |
| OKLCH | oklch(46.53% 0.152 264.8) |
| XYZ | xyz(11.6842, 9.6313, 40.7703) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.35
Cobalt
#0047AB
ΔE00 3.90
Denim Blue
#3B5B92
ΔE00 4.81
Dusk Blue
#26538D
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.18
Denim
#1560BD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52AD #AD892E
analogous
#2E91AD #2E52AD #492EAD
triadic
#2E52AD #AD2E52 #52AD2E
tetradic
#2E52AD #AD2E91 #AD892E #2EAD49
square
#2E52AD #AD2E91 #AD892E #2EAD49
split-complementary
#2E52AD #AD492E #91AD2E
monochromatic
#14244C #213B7D #2E52AD #496FCF #7A96DC
Accessibility & contrast
On white
7.18
#2E52AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2E52AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E52AD
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52AD | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155EB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e52ad; /* rgb */ color: rgb(46, 82, 173); /* oklch */ color: oklch(46.5% 0.152 264.8);
Tailwind
colors: {
custom: {
50: '#7882c6',
500: '#2e52ad',
950: '#000000',
},
}SCSS
$custom: #2e52ad; $custom-light: #7882c6; $custom-dark: #000000;
JSON
{
"hex": "#2e52ad",
"rgb": {
"r": 46,
"g": 82,
"b": 173
},
"hsl": {
"h": 222.992,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.46529,
"c": 0.15159,
"h": 264.8
},
"luminance": 0.09633
}Semantic roles & 50–950 ramp
primary
#2E52AD
secondary
#C4AD73
accent
#B547E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82