#2E54A2#2E54A2
#2E54A2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.134 H 262.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2E54A2 |
|---|---|
| RGB | rgb(46, 84, 162) |
| HSL | hsl(220, 56%, 41%) |
| HSV | hsv(220, 72%, 64%) |
| CMYK | cmyk(71.6%, 48.1%, 0%, 36.5%) |
| CIE-LAB | lab(36.98, 13.92, -46.23) |
| CIE-LCH | lch(36.98, 48.28, 286.76°) |
| OKLab | oklab(46.14% -0.0168 -0.1325) |
| OKLCH | oklch(46.14% 0.134 262.8) |
| XYZ | xyz(10.8163, 9.5290, 35.4447) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.23
Denim Blue
#3B5B92
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 3.37
Cobalt (survey)
#1E488F
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.55
Light Navy Blue
#2E5A88
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E54A2 #A27C2E
analogous
#2E8EA2 #2E54A2 #422EA2
triadic
#2E54A2 #A22E54 #54A22E
tetradic
#2E54A2 #A22E8E #A27C2E #2EA242
square
#2E54A2 #A22E8E #A27C2E #2EA242
split-complementary
#2E54A2 #A2422E #8EA22E
monochromatic
#132343 #203B72 #2E54A2 #436FCA #7394D7
Accessibility & contrast
On white
7.23
#2E54A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2E54A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E54A2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E54A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E54A2 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e54a2; /* rgb */ color: rgb(46, 84, 162); /* oklch */ color: oklch(46.1% 0.134 262.8);
Tailwind
colors: {
custom: {
50: '#7583be',
500: '#2e54a2',
950: '#000000',
},
}SCSS
$custom: #2e54a2; $custom-light: #7583be; $custom-dark: #000000;
JSON
{
"hex": "#2e54a2",
"rgb": {
"r": 46,
"g": 84,
"b": 162
},
"hsl": {
"h": 220.345,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.46144,
"c": 0.13361,
"h": 262.8
},
"luminance": 0.0953
}Semantic roles & 50–950 ramp
primary
#2E54A2
secondary
#BFA46D
accent
#AE49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81