#2E52A2#2E52A2
#2E52A2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.136 H 263.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52A2 |
|---|---|
| RGB | rgb(46, 82, 162) |
| HSL | hsl(221, 56%, 41%) |
| HSV | hsv(221, 72%, 64%) |
| CMYK | cmyk(71.6%, 49.4%, 0%, 36.5%) |
| CIE-LAB | lab(36.41, 15.24, -47.15) |
| CIE-LCH | lch(36.41, 49.56, 287.92°) |
| OKLab | oklab(45.71% -0.015 -0.1353) |
| OKLCH | oklch(45.71% 0.136 263.7) |
| XYZ | xyz(10.6633, 9.2230, 35.3937) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.25
Dusk Blue
#26538D
ΔE00 3.64
Denim Blue
#3B5B92
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.06
Light Navy Blue
#2E5A88
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52A2 #A27E2E
analogous
#2E8CA2 #2E52A2 #442EA2
triadic
#2E52A2 #A22E52 #52A22E
tetradic
#2E52A2 #A22E8C #A27E2E #2EA244
square
#2E52A2 #A22E8C #A27E2E #2EA244
split-complementary
#2E52A2 #A2442E #8CA22E
monochromatic
#132243 #203A72 #2E52A2 #436DCA #7392D7
Accessibility & contrast
On white
7.38
#2E52A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2E52A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E52A2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52A2 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#0151A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e52a2; /* rgb */ color: rgb(46, 82, 162); /* oklch */ color: oklch(45.7% 0.136 263.7);
Tailwind
colors: {
custom: {
50: '#7682be',
500: '#2e52a2',
950: '#000000',
},
}SCSS
$custom: #2e52a2; $custom-light: #7682be; $custom-dark: #000000;
JSON
{
"hex": "#2e52a2",
"rgb": {
"r": 46,
"g": 82,
"b": 162
},
"hsl": {
"h": 221.379,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.45705,
"c": 0.13613,
"h": 263.7
},
"luminance": 0.09224
}Semantic roles & 50–950 ramp
primary
#2E52A2
secondary
#BFA56D
accent
#B049DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81