#4E52B9#4E52B9

#4E52B9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.159 H 277.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4E52B9
RGBrgb(78, 82, 185)
HSLhsl(238, 43%, 52%)
HSVhsv(238, 58%, 73%)
CMYKcmyk(57.8%, 55.7%, 0%, 27.5%)
CIE-LABlab(39.84, 28.98, -55.15)
CIE-LCHlch(39.84, 62.30, 297.72°)
OKLaboklab(49.29% 0.0198 -0.1581)
OKLCHoklch(49.29% 0.159 277.1)
XYZxyz(14.9133, 11.1560, 47.2570)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52B9 #B9B54E
analogous
#4E88B9 #4E52B9 #804EB9
triadic
#4E52B9 #B94E52 #52B94E
tetradic
#4E52B9 #B94E88 #B9B54E #4EB980
square
#4E52B9 #B94E88 #B9B54E #4EB980
split-complementary
#4E52B9 #B9804E #88B94E
monochromatic
#282A65 #393C91 #4E52B9 #7A7DCA #A6A8DC

Accessibility & contrast

On white

6.50
#4E52B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E52B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52B9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52B9#FFFFFF#000000##FFFFFF
##4E52B91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0362BD
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#086A7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e52b9;
/* rgb */ color: rgb(78, 82, 185);
/* oklch */ color: oklch(49.3% 0.159 277.1);
Tailwind
colors: {
  custom: {
    50: '#8982cf',
    500: '#4e52b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e52b9;
$custom-light: #8982cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52b9",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 237.757,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.15932,
    "h": 277.1
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#4E52B9
secondary
#C9C79A
accent
#CE55D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E52B9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E52B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva