#2E54BC#2E54BC
#2E54BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.170 H 265.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E54BC |
|---|---|
| RGB | rgb(46, 84, 188) |
| HSL | hsl(224, 61%, 46%) |
| HSV | hsv(224, 76%, 74%) |
| CMYK | cmyk(75.5%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.81, 23.78, -58.65) |
| CIE-LCH | lch(38.81, 63.29, 292.07°) |
| OKLab | oklab(48.12% -0.014 -0.1691) |
| OKLCH | oklch(48.12% 0.17 265.3) |
| XYZ | xyz(13.3709, 10.5508, 48.8990) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.29
Cobalt
#0047AB
ΔE00 5.05
Denim
#1560BD
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.92
Denim Blue
#3B5B92
ΔE00 6.00
Warm Blue
#4B57DB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E54BC #BC962E
analogous
#2E9BBC #2E54BC #4F2EBC
triadic
#2E54BC #BC2E54 #54BC2E
tetradic
#2E54BC #BC2E9B #BC962E #2EBC4F
square
#2E54BC #BC2E9B #BC962E #2EBC4F
split-complementary
#2E54BC #BC4F2E #9BBC2E
monochromatic
#16285A #223E8B #2E54BC #5275D5 #849DE1
Accessibility & contrast
On white
6.75
#2E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2E54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E54BC
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E54BC | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e54bc; /* rgb */ color: rgb(46, 84, 188); /* oklch */ color: oklch(48.1% 0.170 265.3);
Tailwind
colors: {
custom: {
50: '#7b83d1',
500: '#2e54bc',
950: '#000000',
},
}SCSS
$custom: #2e54bc; $custom-light: #7b83d1; $custom-dark: #000000;
JSON
{
"hex": "#2e54bc",
"rgb": {
"r": 46,
"g": 84,
"b": 188
},
"hsl": {
"h": 223.944,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.48117,
"c": 0.16968,
"h": 265.3
},
"luminance": 0.10552
}Semantic roles & 50–950 ramp
primary
#2E54BC
secondary
#CAB57C
accent
#B944E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82