#2E52B2#2E52B2
#2E52B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.159 H 265.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52B2 |
|---|---|
| RGB | rgb(46, 82, 178) |
| HSL | hsl(224, 59%, 44%) |
| HSV | hsv(224, 74%, 70%) |
| CMYK | cmyk(74.2%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(37.53, 21.32, -54.85) |
| CIE-LCH | lch(37.53, 58.85, 291.24°) |
| OKLab | oklab(46.92% -0.0132 -0.158) |
| OKLCH | oklch(46.92% 0.159 265.2) |
| XYZ | xyz(12.1771, 9.8285, 43.3662) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.18
Cobalt
#0047AB
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 5.31
Dusk Blue
#26538D
ΔE00 5.62
Cobalt (survey)
#1E488F
ΔE00 5.76
Denim
#1560BD
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52B2 #B28E2E
analogous
#2E94B2 #2E52B2 #4C2EB2
triadic
#2E52B2 #B22E52 #52B22E
tetradic
#2E52B2 #B22E94 #B28E2E #2EB24C
square
#2E52B2 #B22E94 #B28E2E #2EB24C
split-complementary
#2E52B2 #B24C2E #94B22E
monochromatic
#152551 #213C81 #2E52B2 #4C70D1 #7D97DD
Accessibility & contrast
On white
7.08
#2E52B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E52B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E52B2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52B2 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#065FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e52b2; /* rgb */ color: rgb(46, 82, 178); /* oklch */ color: oklch(46.9% 0.159 265.2);
Tailwind
colors: {
custom: {
50: '#7982ca',
500: '#2e52b2',
950: '#000000',
},
}SCSS
$custom: #2e52b2; $custom-light: #7982ca; $custom-dark: #000000;
JSON
{
"hex": "#2e52b2",
"rgb": {
"r": 46,
"g": 82,
"b": 178
},
"hsl": {
"h": 223.636,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.46916,
"c": 0.15851,
"h": 265.2
},
"luminance": 0.0983
}Semantic roles & 50–950 ramp
primary
#2E52B2
secondary
#C6B076
accent
#B746E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82