#4E53A2#4E53A2

#4E53A2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.125 H 277.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4E53A2
RGBrgb(78, 83, 162)
HSLhsl(236, 35%, 47%)
HSVhsv(236, 52%, 64%)
CMYKcmyk(51.9%, 48.8%, 0%, 36.5%)
CIE-LABlab(38.58, 20.75, -43.57)
CIE-LCHlch(38.58, 48.26, 295.46°)
OKLaboklab(47.85% 0.017 -0.124)
OKLCHoklch(47.85% 0.125 277.8)
XYZxyz(12.7547, 10.4141, 35.5134)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E53A2 #A29D4E
analogous
#4E7DA2 #4E53A2 #734EA2
triadic
#4E53A2 #A24E53 #53A24E
tetradic
#4E53A2 #A24E7D #A29D4E #4EA273
square
#4E53A2 #A24E7D #A29D4E #4EA273
split-complementary
#4E53A2 #A2734E #7DA24E
monochromatic
#26294F #3A3E79 #4E53A2 #7276BB #9B9ECF

Accessibility & contrast

On white

6.81
#4E53A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E53A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E53A2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E53A2#FFFFFF#000000##FFFFFF
##4E53A21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#2758A0
Tritanopia (blue-blind)
#2B6473
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e53a2;
/* rgb */ color: rgb(78, 83, 162);
/* oklch */ color: oklch(47.9% 0.125 277.8);
Tailwind
colors: {
  custom: {
    50: '#8583be',
    500: '#4e53a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e53a2;
$custom-light: #8583be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e53a2",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 236.429,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.12521,
    "h": 277.8
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#4E53A2
secondary
#BCB990
accent
#C45DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E53A2

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

Preview Lab → · Contrast checker → · Palette generator →

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