#4E52CD

A color in the Blue, Sky, Navy family

#4e52cd is a color in the Blue, Sky, Navy family: RGB(78, 82, 205), HSL(238°, 56%, 55%), CMYK(62%, 60%, 0%, 20%). Closest named color: slateblue. Contrast is 6.15:1 on white and 3.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e52cd
RGBrgb(78 82 205)
RGB (legacy)rgb(78, 82, 205)
RGB %rgb(31% 32% 80%)
HSLhsl(238 56% 55%)
HSV / HSBhsv(238, 62%, 80%)
HWBhwb(238 31% 20%)
CMYKcmyk(62%, 60%, 0%, 20%)
CIELAB (D50)lab(40.32 27.97 -65.72)
LCHlch(40.32 71.42 293.05)
OKLaboklab(0.5084 0.0198 -0.1853)
OKLCHoklch(0.5084 0.1863 276.1)
Decimal5133005

Properties

Color ToneBlue, Sky, Navy
Closest named colorslateblue ΔE 4.8
Closest web-safe color#6666cc
Hue238°
Saturation (HSL / HSV)56% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)37% / 35%
Relative luminance (WCAG)0.1206
Red / Green / Blue78 / 82 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.41: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 80.2 / -21.6 · As background with white / black text: Lc -85.4 / 23.8

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: #4e52cd;
  --color-brand-oklch: oklch(50.84% 0.1863 276.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 82 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e52cd] text-[#4e52cd] border-[#4e52cd]">