#2E52A6#2E52A6
#2E52A6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.142 H 264.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2E52A6 |
|---|---|
| RGB | rgb(46, 82, 166) |
| HSL | hsl(222, 57%, 42%) |
| HSV | hsv(222, 72%, 65%) |
| CMYK | cmyk(72.3%, 50.6%, 0%, 34.9%) |
| CIE-LAB | lab(36.68, 16.76, -49.11) |
| CIE-LCH | lch(36.68, 51.89, 288.85°) |
| OKLab | oklab(46% -0.0145 -0.141) |
| OKLCH | oklch(46% 0.142 264.1) |
| XYZ | xyz(11.0245, 9.3674, 37.2961) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.90
Dusk Blue
#26538D
ΔE00 4.13
Denim Blue
#3B5B92
ΔE00 4.16
Cobalt (survey)
#1E488F
ΔE00 4.43
Light Navy Blue
#2E5A88
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E52A6 #A6822E
analogous
#2E8EA6 #2E52A6 #462EA6
triadic
#2E52A6 #A62E52 #52A62E
tetradic
#2E52A6 #A62E8E #A6822E #2EA646
square
#2E52A6 #A62E8E #A6822E #2EA646
split-complementary
#2E52A6 #A6462E #8EA62E
monochromatic
#132346 #213A76 #2E52A6 #466ECC #7693D9
Accessibility & contrast
On white
7.31
#2E52A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2E52A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E52A6
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E52A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E52A6 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e52a6; /* rgb */ color: rgb(46, 82, 166); /* oklch */ color: oklch(46.0% 0.142 264.1);
Tailwind
colors: {
custom: {
50: '#7682c1',
500: '#2e52a6',
950: '#000000',
},
}SCSS
$custom: #2e52a6; $custom-light: #7682c1; $custom-dark: #000000;
JSON
{
"hex": "#2e52a6",
"rgb": {
"r": 46,
"g": 82,
"b": 166
},
"hsl": {
"h": 222,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.46,
"c": 0.14179,
"h": 264.1
},
"luminance": 0.09369
}Semantic roles & 50–950 ramp
primary
#2E52A6
secondary
#C1A86F
accent
#B248E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81