#2E52BC#2E52BC
#2E52BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.172 H 265.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52BC |
|---|---|
| RGB | rgb(46, 82, 188) |
| HSL | hsl(225, 61%, 46%) |
| HSV | hsv(225, 76%, 74%) |
| CMYK | cmyk(75.5%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(38.28, 25.09, -59.52) |
| CIE-LCH | lch(38.28, 64.59, 292.86°) |
| OKLab | oklab(47.71% -0.0125 -0.1717) |
| OKLCH | oklch(47.71% 0.172 265.8) |
| XYZ | xyz(13.2179, 10.2448, 48.8480) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.47
Cobalt
#0047AB
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 5.26
Warm Blue
#4B57DB
ΔE00 6.08
Denim
#1560BD
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52BC #BC982E
analogous
#2E99BC #2E52BC #512EBC
triadic
#2E52BC #BC2E52 #52BC2E
tetradic
#2E52BC #BC2E99 #BC982E #2EBC51
square
#2E52BC #BC2E99 #BC982E #2EBC51
split-complementary
#2E52BC #BC512E #99BC2E
monochromatic
#16275A #223D8B #2E52BC #5273D5 #849BE1
Accessibility & contrast
On white
6.89
#2E52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2E52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E52BC
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52BC | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e52bc; /* rgb */ color: rgb(46, 82, 188); /* oklch */ color: oklch(47.7% 0.172 265.8);
Tailwind
colors: {
custom: {
50: '#7b82d1',
500: '#2e52bc',
950: '#000000',
},
}SCSS
$custom: #2e52bc; $custom-light: #7b82d1; $custom-dark: #000000;
JSON
{
"hex": "#2e52bc",
"rgb": {
"r": 46,
"g": 82,
"b": 188
},
"hsl": {
"h": 224.789,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.47714,
"c": 0.17214,
"h": 265.8
},
"luminance": 0.10246
}Semantic roles & 50–950 ramp
primary
#2E52BC
secondary
#CAB67C
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82