#4E5B8A

A color in the Blue, Sky, Navy family

#4e5b8a is a color in the Blue, Sky, Navy family: RGB(78, 91, 138), HSL(227°, 28%, 42%), CMYK(43%, 34%, 0%, 46%). Closest named color: darkslateblue. Contrast is 6.59:1 on white and 3.19:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e5b8a
RGBrgb(78 91 138)
RGB (legacy)rgb(78, 91, 138)
RGB %rgb(31% 36% 54%)
HSLhsl(227 28% 42%)
HSV / HSBhsv(227, 43%, 54%)
HWBhwb(227 31% 46%)
CMYKcmyk(43%, 34%, 0%, 46%)
CIELAB (D50)lab(39.13 4.77 -28.11)
LCHlch(39.13 28.51 279.62)
OKLaboklab(0.4811 0.002 -0.0777)
OKLCHoklch(0.4811 0.0777 271.45)
Decimal5135242

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 8.5
Closest web-safe color#666699
Hue227°
Saturation (HSL / HSV)28% / 43%
Lightness (HSL)42%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)36% / 36%
Relative luminance (WCAG)0.1094
Red / Green / Blue78 / 91 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 82.5 / -19.4 · As background with white / black text: Lc -87.6 / 21.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4e5b8a;
  --color-brand-oklch: oklch(48.11% 0.0777 271.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 91 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e5b8a] text-[#4e5b8a] border-[#4e5b8a]">