#2E55BA#2E55BA
#2E55BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.166 H 264.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E55BA |
|---|---|
| RGB | rgb(46, 85, 186) |
| HSL | hsl(223, 60%, 45%) |
| HSV | hsv(223, 75%, 73%) |
| CMYK | cmyk(75.3%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(38.94, 22.37, -57.28) |
| CIE-LCH | lch(38.94, 61.50, 291.33°) |
| OKLab | oklab(48.16% -0.0149 -0.1651) |
| OKLCH | oklch(48.16% 0.166 264.8) |
| XYZ | xyz(13.2350, 10.6215, 47.7975) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.16
Denim
#1560BD
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.12
Denim Blue
#3B5B92
ΔE00 5.61
Dusk Blue
#26538D
ΔE00 6.33
Blue Blue
#2242C7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E55BA #BA932E
analogous
#2E9BBA #2E55BA #4D2EBA
triadic
#2E55BA #BA2E55 #55BA2E
tetradic
#2E55BA #BA2E9B #BA932E #2EBA4D
square
#2E55BA #BA2E9B #BA932E #2EBA4D
split-complementary
#2E55BA #BA4D2E #9BBA2E
monochromatic
#162858 #223F89 #2E55BA #5176D4 #829CE0
Accessibility & contrast
On white
6.72
#2E55BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2E55BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E55BA
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E55BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E55BA | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e55ba; /* rgb */ color: rgb(46, 85, 186); /* oklch */ color: oklch(48.2% 0.166 264.8);
Tailwind
colors: {
custom: {
50: '#7b84cf',
500: '#2e55ba',
950: '#000000',
},
}SCSS
$custom: #2e55ba; $custom-light: #7b84cf; $custom-dark: #000000;
JSON
{
"hex": "#2e55ba",
"rgb": {
"r": 46,
"g": 85,
"b": 186
},
"hsl": {
"h": 223.286,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.48162,
"c": 0.16573,
"h": 264.8
},
"luminance": 0.10623
}Semantic roles & 50–950 ramp
primary
#2E55BA
secondary
#C9B37B
accent
#B744E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82