#2E5BA0#2E5BA0
#2E5BA0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.122 H 258.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5BA0 |
|---|---|
| RGB | rgb(46, 91, 160) |
| HSL | hsl(216, 55%, 40%) |
| HSV | hsv(216, 71%, 63%) |
| CMYK | cmyk(71.2%, 43.1%, 0%, 37.3%) |
| CIE-LAB | lab(38.90, 8.58, -41.97) |
| CIE-LCH | lch(38.90, 42.83, 281.55°) |
| OKLab | oklab(47.58% -0.0238 -0.1199) |
| OKLCH | oklch(47.58% 0.122 258.8) |
| XYZ | xyz(11.2107, 10.5999, 34.7061) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.42
Light Navy Blue
#2E5A88
ΔE00 3.30
Dusk Blue
#26538D
ΔE00 3.45
Denim
#1560BD
ΔE00 3.78
Denim (survey)
#3B638C
ΔE00 4.12
Dusky Blue
#475F94
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5BA0 #A0732E
analogous
#2E94A0 #2E5BA0 #3A2EA0
triadic
#2E5BA0 #A02E5B #5BA02E
tetradic
#2E5BA0 #A02E94 #A0732E #2EA03A
square
#2E5BA0 #A02E94 #A0732E #2EA03A
split-complementary
#2E5BA0 #A03A2E #94A02E
monochromatic
#132541 #204070 #2E5BA0 #4277C9 #729AD6
Accessibility & contrast
On white
6.73
#2E5BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2E5BA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5BA0
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5BA0 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A61A3
Deuteranopia (green-blind)
#27579F
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e5ba0; /* rgb */ color: rgb(46, 91, 160); /* oklch */ color: oklch(47.6% 0.122 258.8);
Tailwind
colors: {
custom: {
50: '#7588bc',
500: '#2e5ba0',
950: '#000000',
},
}SCSS
$custom: #2e5ba0; $custom-light: #7588bc; $custom-dark: #000000;
JSON
{
"hex": "#2e5ba0",
"rgb": {
"r": 46,
"g": 91,
"b": 160
},
"hsl": {
"h": 216.316,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.47578,
"c": 0.12224,
"h": 258.8
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#2E5BA0
secondary
#BE9E6C
accent
#A449DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81