#4E52BD#4E52BD

#4E52BD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.165 H 276.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4E52BD
RGBrgb(78, 82, 189)
HSLhsl(238, 46%, 52%)
HSVhsv(238, 59%, 74%)
CMYKcmyk(58.7%, 56.6%, 0%, 25.9%)
CIE-LABlab(40.13, 30.31, -57.03)
CIE-LCHlch(40.13, 64.58, 297.99°)
OKLaboklab(49.59% 0.0199 -0.1636)
OKLCHoklch(49.59% 0.165 276.9)
XYZxyz(15.3415, 11.3273, 49.5122)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52BD #BDB94E
analogous
#4E89BD #4E52BD #824EBD
triadic
#4E52BD #BD4E52 #52BD4E
tetradic
#4E52BD #BD4E89 #BDB94E #4EBD82
square
#4E52BD #BD4E89 #BDB94E #4EBD82
split-complementary
#4E52BD #BD824E #89BD4E
monochromatic
#272A69 #383B96 #4E52BD #7B7ECE #A7A9DE

Accessibility & contrast

On white

6.43
#4E52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52BD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52BD#FFFFFF#000000##FFFFFF
##4E52BD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e52bd;
/* rgb */ color: rgb(78, 82, 189);
/* oklch */ color: oklch(49.6% 0.165 276.9);
Tailwind
colors: {
  custom: {
    50: '#8a82d2',
    500: '#4e52bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e52bd;
$custom-light: #8a82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52bd",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 237.838,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49593,
    "c": 0.16483,
    "h": 276.9
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#4E52BD
secondary
#CCCA9B
accent
#D152D5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4E52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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