#2E5BA4#2E5BA4
#2E5BA4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.128 H 259.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5BA4 |
|---|---|
| RGB | rgb(46, 91, 164) |
| HSL | hsl(217, 56%, 41%) |
| HSV | hsv(217, 72%, 64%) |
| CMYK | cmyk(72%, 44.5%, 0%, 35.7%) |
| CIE-LAB | lab(39.14, 10.09, -43.96) |
| CIE-LCH | lch(39.14, 45.10, 282.93°) |
| OKLab | oklab(47.85% -0.023 -0.1257) |
| OKLCH | oklch(47.85% 0.128 259.6) |
| XYZ | xyz(11.5662, 10.7421, 36.5786) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.70
Denim
#1560BD
ΔE00 3.51
Light Navy Blue
#2E5A88
ΔE00 3.76
Dusk Blue
#26538D
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 4.06
Dusky Blue
#475F94
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5BA4 #A4772E
analogous
#2E96A4 #2E5BA4 #3C2EA4
triadic
#2E5BA4 #A42E5B #5BA42E
tetradic
#2E5BA4 #A42E96 #A4772E #2EA43C
square
#2E5BA4 #A42E96 #A4772E #2EA43C
split-complementary
#2E5BA4 #A43C2E #96A42E
monochromatic
#132644 #214074 #2E5BA4 #4578CB #749AD8
Accessibility & contrast
On white
6.67
#2E5BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2E5BA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5BA4
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5BA4 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#2157A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e5ba4; /* rgb */ color: rgb(46, 91, 164); /* oklch */ color: oklch(47.8% 0.128 259.6);
Tailwind
colors: {
custom: {
50: '#7688bf',
500: '#2e5ba4',
950: '#000000',
},
}SCSS
$custom: #2e5ba4; $custom-light: #7688bf; $custom-dark: #000000;
JSON
{
"hex": "#2e5ba4",
"rgb": {
"r": 46,
"g": 91,
"b": 164
},
"hsl": {
"h": 217.119,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.47846,
"c": 0.12784,
"h": 259.6
},
"luminance": 0.10743
}Semantic roles & 50–950 ramp
primary
#2E5BA4
secondary
#C0A16E
accent
#A648DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81