#2E5BA2#2E5BA2
#2E5BA2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.7% C 0.125 H 259.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5BA2 |
|---|---|
| RGB | rgb(46, 91, 162) |
| HSL | hsl(217, 56%, 41%) |
| HSV | hsv(217, 72%, 64%) |
| CMYK | cmyk(71.6%, 43.8%, 0%, 36.5%) |
| CIE-LAB | lab(39.02, 9.33, -42.97) |
| CIE-LCH | lch(39.02, 43.97, 282.26°) |
| OKLab | oklab(47.71% -0.0234 -0.1228) |
| OKLCH | oklch(47.71% 0.125 259.2) |
| XYZ | xyz(11.3870, 10.6704, 35.6349) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.55
Light Navy Blue
#2E5A88
ΔE00 3.53
Dusk Blue
#26538D
ΔE00 3.63
Denim
#1560BD
ΔE00 3.64
Sapphire
#0F52BA
ΔE00 4.22
Denim (survey)
#3B638C
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5BA2 #A2752E
analogous
#2E95A2 #2E5BA2 #3B2EA2
triadic
#2E5BA2 #A22E5B #5BA22E
tetradic
#2E5BA2 #A22E95 #A2752E #2EA23B
square
#2E5BA2 #A22E95 #A2752E #2EA23B
split-complementary
#2E5BA2 #A23B2E #95A22E
monochromatic
#132543 #204072 #2E5BA2 #4378CA #739AD7
Accessibility & contrast
On white
6.70
#2E5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2E5BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5BA2
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5BA2 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#2457A1
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e5ba2; /* rgb */ color: rgb(46, 91, 162); /* oklch */ color: oklch(47.7% 0.125 259.2);
Tailwind
colors: {
custom: {
50: '#7588be',
500: '#2e5ba2',
950: '#000000',
},
}SCSS
$custom: #2e5ba2; $custom-light: #7588be; $custom-dark: #000000;
JSON
{
"hex": "#2e5ba2",
"rgb": {
"r": 46,
"g": 91,
"b": 162
},
"hsl": {
"h": 216.724,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.47711,
"c": 0.12504,
"h": 259.2
},
"luminance": 0.10672
}Semantic roles & 50–950 ramp
primary
#2E5BA2
secondary
#BF9F6D
accent
#A549DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81