#2E54AB#2E54AB
#2E54AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.146 H 263.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E54AB |
|---|---|
| RGB | rgb(46, 84, 171) |
| HSL | hsl(222, 58%, 43%) |
| HSV | hsv(222, 73%, 67%) |
| CMYK | cmyk(73.1%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.59, 17.34, -50.61) |
| CIE-LCH | lch(37.59, 53.50, 288.91°) |
| OKLab | oklab(46.8% -0.0156 -0.1454) |
| OKLCH | oklch(46.8% 0.146 263.9) |
| XYZ | xyz(11.6451, 9.8605, 39.8097) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Denim Blue
#3B5B92
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 5.24
Denim
#1560BD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E54AB #AB852E
analogous
#2E93AB #2E54AB #462EAB
triadic
#2E54AB #AB2E54 #54AB2E
tetradic
#2E54AB #AB2E93 #AB852E #2EAB46
square
#2E54AB #AB2E93 #AB852E #2EAB46
split-complementary
#2E54AB #AB462E #93AB2E
monochromatic
#14254B #213C7B #2E54AB #4871CE #7996DB
Accessibility & contrast
On white
7.06
#2E54AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E54AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E54AB
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E54AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E54AB | 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)
#1F5FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e54ab; /* rgb */ color: rgb(46, 84, 171); /* oklch */ color: oklch(46.8% 0.146 263.9);
Tailwind
colors: {
custom: {
50: '#7783c5',
500: '#2e54ab',
950: '#000000',
},
}SCSS
$custom: #2e54ab; $custom-light: #7783c5; $custom-dark: #000000;
JSON
{
"hex": "#2e54ab",
"rgb": {
"r": 46,
"g": 84,
"b": 171
},
"hsl": {
"h": 221.76,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.46803,
"c": 0.14628,
"h": 263.9
},
"luminance": 0.09862
}Semantic roles & 50–950 ramp
primary
#2E54AB
secondary
#C3AA72
accent
#B247E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82