#2E52BE#2E52BE
#2E52BE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.175 H 265.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52BE |
|---|---|
| RGB | rgb(46, 82, 190) |
| HSL | hsl(225, 61%, 46%) |
| HSV | hsv(225, 76%, 75%) |
| CMYK | cmyk(75.8%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(38.43, 25.84, -60.44) |
| CIE-LCH | lch(38.43, 65.74, 293.15°) |
| OKLab | oklab(47.88% -0.0124 -0.1744) |
| OKLCH | oklch(47.88% 0.175 265.9) |
| XYZ | xyz(13.4350, 10.3316, 49.9914) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.62
Cobalt
#0047AB
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.84
Blue (survey)
#0343DF
ΔE00 5.99
Denim
#1560BD
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52BE #BE9A2E
analogous
#2E9ABE #2E52BE #522EBE
triadic
#2E52BE #BE2E52 #52BE2E
tetradic
#2E52BE #BE2E9A #BE9A2E #2EBE52
square
#2E52BE #BE2E9A #BE9A2E #2EBE52
split-complementary
#2E52BE #BE522E #9ABE2E
monochromatic
#16275B #223D8D #2E52BE #5474D6 #859CE1
Accessibility & contrast
On white
6.85
#2E52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2E52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E52BE
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52BE | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e52be; /* rgb */ color: rgb(46, 82, 190); /* oklch */ color: oklch(47.9% 0.175 265.9);
Tailwind
colors: {
custom: {
50: '#7c82d2',
500: '#2e52be',
950: '#000000',
},
}SCSS
$custom: #2e52be; $custom-light: #7c82d2; $custom-dark: #000000;
JSON
{
"hex": "#2e52be",
"rgb": {
"r": 46,
"g": 82,
"b": 190
},
"hsl": {
"h": 225,
"s": 61.017,
"l": 46.275
},
"oklch": {
"l": 0.47877,
"c": 0.17484,
"h": 265.9
},
"luminance": 0.10333
}Semantic roles & 50–950 ramp
primary
#2E52BE
secondary
#CBB77D
accent
#BC44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83