#2E5A9B#2E5A9B
#2E5A9B is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.0% C 0.116 H 258.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5A9B |
|---|---|
| RGB | rgb(46, 90, 155) |
| HSL | hsl(216, 54%, 39%) |
| HSV | hsv(216, 70%, 61%) |
| CMYK | cmyk(70.3%, 41.9%, 0%, 39.2%) |
| CIE-LAB | lab(38.30, 7.34, -39.93) |
| CIE-LCH | lch(38.30, 40.60, 280.42°) |
| OKLab | oklab(47.02% -0.0239 -0.1139) |
| OKLCH | oklch(47.02% 0.116 258.2) |
| XYZ | xyz(10.6971, 10.2586, 32.4203) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.12
Light Navy Blue
#2E5A88
ΔE00 2.80
Dusk Blue
#26538D
ΔE00 2.83
Denim (survey)
#3B638C
ΔE00 4.10
Dusky Blue
#475F94
ΔE00 4.26
Denim
#1560BD
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5A9B #9B6F2E
analogous
#2E919B #2E5A9B #392E9B
triadic
#2E5A9B #9B2E5A #5A9B2E
tetradic
#2E5A9B #9B2E91 #9B6F2E #2E9B39
square
#2E5A9B #9B2E91 #9B6F2E #2E9B39
split-complementary
#2E5A9B #9B392E #919B2E
monochromatic
#12233D #203F6C #2E5A9B #4076C6 #6F98D4
Accessibility & contrast
On white
6.88
#2E5A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2E5A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5A9B
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5A9B | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#2A569A
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e5a9b; /* rgb */ color: rgb(46, 90, 155); /* oklch */ color: oklch(47.0% 0.116 258.2);
Tailwind
colors: {
custom: {
50: '#7488b9',
500: '#2e5a9b',
950: '#000000',
},
}SCSS
$custom: #2e5a9b; $custom-light: #7488b9; $custom-dark: #000000;
JSON
{
"hex": "#2e5a9b",
"rgb": {
"r": 46,
"g": 90,
"b": 155
},
"hsl": {
"h": 215.78,
"s": 54.229,
"l": 39.412
},
"oklch": {
"l": 0.4702,
"c": 0.1164,
"h": 258.2
},
"luminance": 0.1026
}Semantic roles & 50–950 ramp
primary
#2E5A9B
secondary
#BC9A69
accent
#A24ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80