#2E52B3#2E52B3
#2E52B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.160 H 265.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52B3 |
|---|---|
| RGB | rgb(46, 82, 179) |
| HSL | hsl(224, 59%, 44%) |
| HSV | hsv(224, 74%, 70%) |
| CMYK | cmyk(74.3%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(37.61, 21.69, -55.32) |
| CIE-LCH | lch(37.61, 59.43, 291.41°) |
| OKLab | oklab(47% -0.0131 -0.1593) |
| OKLCH | oklch(47% 0.16 265.3) |
| XYZ | xyz(12.2778, 9.8688, 43.8969) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.17
Cobalt
#0047AB
ΔE00 4.10
Denim Blue
#3B5B92
ΔE00 5.42
Dusk Blue
#26538D
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52B3 #B38F2E
analogous
#2E95B3 #2E52B3 #4C2EB3
triadic
#2E52B3 #B32E52 #52B32E
tetradic
#2E52B3 #B32E95 #B38F2E #2EB34C
square
#2E52B3 #B32E95 #B38F2E #2EB34C
split-complementary
#2E52B3 #B34C2E #95B32E
monochromatic
#152552 #213C82 #2E52B3 #4D71D1 #7E98DE
Accessibility & contrast
On white
7.06
#2E52B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E52B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E52B3
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52B3 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025FB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e52b3; /* rgb */ color: rgb(46, 82, 179); /* oklch */ color: oklch(47.0% 0.160 265.3);
Tailwind
colors: {
custom: {
50: '#7982ca',
500: '#2e52b3',
950: '#000000',
},
}SCSS
$custom: #2e52b3; $custom-light: #7982ca; $custom-dark: #000000;
JSON
{
"hex": "#2e52b3",
"rgb": {
"r": 46,
"g": 82,
"b": 179
},
"hsl": {
"h": 223.759,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.46995,
"c": 0.15988,
"h": 265.3
},
"luminance": 0.0987
}Semantic roles & 50–950 ramp
primary
#2E52B3
secondary
#C6B176
accent
#B846E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82