#4E57A2#4E57A2

#4E57A2 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.7% C 0.120 H 275.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E57A2
RGBrgb(78, 87, 162)
HSLhsl(234, 35%, 47%)
HSVhsv(234, 52%, 64%)
CMYKcmyk(51.9%, 46.3%, 0%, 36.5%)
CIE-LABlab(39.65, 18.18, -41.85)
CIE-LCHlch(39.65, 45.63, 293.49°)
OKLaboklab(48.67% 0.0122 -0.1189)
OKLCHoklch(48.67% 0.12 275.9)
XYZxyz(13.0696, 11.0439, 35.6184)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57A2 #A2994E
analogous
#4E81A2 #4E57A2 #6F4EA2
triadic
#4E57A2 #A24E57 #57A24E
tetradic
#4E57A2 #A24E81 #A2994E #4EA26F
square
#4E57A2 #A24E81 #A2994E #4EA26F
split-complementary
#4E57A2 #A26F4E #81A24E
monochromatic
#262B4F #3A4179 #4E57A2 #727ABB #9BA1CF

Accessibility & contrast

On white

6.54
#4E57A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E57A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57A2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57A2#FFFFFF#000000##FFFFFF
##4E57A21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#2B6774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e57a2;
/* rgb */ color: rgb(78, 87, 162);
/* oklch */ color: oklch(48.7% 0.120 275.9);
Tailwind
colors: {
  custom: {
    50: '#8586be',
    500: '#4e57a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e57a2;
$custom-light: #8586be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57a2",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 233.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.11958,
    "h": 275.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#4E57A2
secondary
#BCB790
accent
#BF5DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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