#2E52BA#2E52BA
#2E52BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.169 H 265.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52BA |
|---|---|
| RGB | rgb(46, 82, 186) |
| HSL | hsl(225, 60%, 45%) |
| HSV | hsv(225, 75%, 73%) |
| CMYK | cmyk(75.3%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(38.13, 24.34, -58.60) |
| CIE-LCH | lch(38.13, 63.45, 292.55°) |
| OKLab | oklab(47.55% -0.0126 -0.169) |
| OKLCH | oklch(47.55% 0.169 265.7) |
| XYZ | xyz(13.0038, 10.1592, 47.7204) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.35
Cobalt
#0047AB
ΔE00 4.54
Blue Blue
#2242C7
ΔE00 5.38
Denim
#1560BD
ΔE00 6.11
Denim Blue
#3B5B92
ΔE00 6.15
Warm Blue
#4B57DB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52BA #BA962E
analogous
#2E98BA #2E52BA #502EBA
triadic
#2E52BA #BA2E52 #52BA2E
tetradic
#2E52BA #BA2E98 #BA962E #2EBA50
square
#2E52BA #BA2E98 #BA962E #2EBA50
split-complementary
#2E52BA #BA502E #98BA2E
monochromatic
#162758 #223C89 #2E52BA #5173D4 #829AE0
Accessibility & contrast
On white
6.93
#2E52BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2E52BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E52BA
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52BA | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e52ba; /* rgb */ color: rgb(46, 82, 186); /* oklch */ color: oklch(47.6% 0.169 265.7);
Tailwind
colors: {
custom: {
50: '#7b82cf',
500: '#2e52ba',
950: '#000000',
},
}SCSS
$custom: #2e52ba; $custom-light: #7b82cf; $custom-dark: #000000;
JSON
{
"hex": "#2e52ba",
"rgb": {
"r": 46,
"g": 82,
"b": 186
},
"hsl": {
"h": 224.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.47552,
"c": 0.16944,
"h": 265.7
},
"luminance": 0.10161
}Semantic roles & 50–950 ramp
primary
#2E52BA
secondary
#C9B57B
accent
#BB44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82