#2E51A9#2E51A9
#2E51A9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.147 H 264.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2E51A9 |
|---|---|
| RGB | rgb(46, 81, 169) |
| HSL | hsl(223, 57%, 42%) |
| HSV | hsv(223, 73%, 66%) |
| CMYK | cmyk(72.8%, 52.1%, 0%, 33.7%) |
| CIE-LAB | lab(36.61, 18.57, -51.01) |
| CIE-LCH | lch(36.61, 54.28, 290.00°) |
| OKLab | oklab(46.01% -0.0132 -0.1467) |
| OKLCH | oklch(46.01% 0.147 264.8) |
| XYZ | xyz(11.2281, 9.3291, 38.7374) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.71
Cobalt
#0047AB
ΔE00 3.64
Cobalt (survey)
#1E488F
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 4.66
Denim Blue
#3B5B92
ΔE00 4.69
Light Navy Blue
#2E5A88
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E51A9 #A9862E
analogous
#2E8EA9 #2E51A9 #492EA9
triadic
#2E51A9 #A92E51 #51A92E
tetradic
#2E51A9 #A92E8E #A9862E #2EA949
square
#2E51A9 #A92E8E #A9862E #2EA949
split-complementary
#2E51A9 #A9492E #8EA92E
monochromatic
#142349 #213A79 #2E51A9 #476DCD #7793DA
Accessibility & contrast
On white
7.33
#2E51A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2E51A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E51A9
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E51A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E51A9 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e51a9; /* rgb */ color: rgb(46, 81, 169); /* oklch */ color: oklch(46.0% 0.147 264.8);
Tailwind
colors: {
custom: {
50: '#7781c3',
500: '#2e51a9',
950: '#000000',
},
}SCSS
$custom: #2e51a9; $custom-light: #7781c3; $custom-dark: #000000;
JSON
{
"hex": "#2e51a9",
"rgb": {
"r": 46,
"g": 81,
"b": 169
},
"hsl": {
"h": 222.927,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.46012,
"c": 0.14727,
"h": 264.8
},
"luminance": 0.0933
}Semantic roles & 50–950 ramp
primary
#2E51A9
secondary
#C2AB71
accent
#B547E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82