#2E52C3#2E52C3
#2E52C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.182 H 266.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52C3 |
|---|---|
| RGB | rgb(46, 82, 195) |
| HSL | hsl(226, 62%, 47%) |
| HSV | hsv(226, 76%, 76%) |
| CMYK | cmyk(76.4%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.82, 27.71, -62.73) |
| CIE-LCH | lch(38.82, 68.58, 293.83°) |
| OKLab | oklab(48.29% -0.0122 -0.1811) |
| OKLCH | oklch(48.29% 0.182 266.2) |
| XYZ | xyz(13.9909, 10.5540, 52.9189) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 4.94
Warm Blue
#4B57DB
ΔE00 5.25
Cobalt
#0047AB
ΔE00 5.34
Blue (survey)
#0343DF
ΔE00 5.51
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52C3 #C39F2E
analogous
#2E9DC3 #2E52C3 #542EC3
triadic
#2E52C3 #C32E52 #52C32E
tetradic
#2E52C3 #C32E9D #C39F2E #2EC354
square
#2E52C3 #C32E9D #C39F2E #2EC354
split-complementary
#2E52C3 #C3542E #9DC32E
monochromatic
#172860 #223D91 #2E52C3 #5776D7 #889EE3
Accessibility & contrast
On white
6.75
#2E52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2E52C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E52C3
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52C3 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e52c3; /* rgb */ color: rgb(46, 82, 195); /* oklch */ color: oklch(48.3% 0.182 266.2);
Tailwind
colors: {
custom: {
50: '#7d82d6',
500: '#2e52c3',
950: '#000000',
},
}SCSS
$custom: #2e52c3; $custom-light: #7d82d6; $custom-dark: #000000;
JSON
{
"hex": "#2e52c3",
"rgb": {
"r": 46,
"g": 82,
"b": 195
},
"hsl": {
"h": 225.503,
"s": 61.826,
"l": 47.255
},
"oklch": {
"l": 0.48289,
"c": 0.18153,
"h": 266.2
},
"luminance": 0.10556
}Semantic roles & 50–950 ramp
primary
#2E52C3
secondary
#CDBA80
accent
#BE43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83