#4E5AC9#4E5AC9

#4E5AC9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.171 H 274.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E5AC9
RGBrgb(78, 90, 201)
HSLhsl(234, 53%, 55%)
HSVhsv(234, 61%, 79%)
CMYKcmyk(61.2%, 55.2%, 0%, 21.2%)
CIE-LABlab(42.98, 29.32, -59.37)
CIE-LCHlch(42.98, 66.21, 296.28°)
OKLaboklab(52% 0.0125 -0.1704)
OKLCHoklch(52% 0.171 274.2)
XYZxyz(17.3372, 13.1477, 56.8711)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC9 #C9BD4E
analogous
#4E98C9 #4E5AC9 #7F4EC9
triadic
#4E5AC9 #C94E5A #5AC94E
tetradic
#4E5AC9 #C94E98 #C9BD4E #4EC97F
square
#4E5AC9 #C94E98 #C9BD4E #4EC97F
split-complementary
#4E5AC9 #C97F4E #98C94E
monochromatic
#252D78 #333EA7 #4E5AC9 #7D86D7 #ACB1E6

Accessibility & contrast

On white

5.79
#4E5AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E5AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC9#FFFFFF#000000##FFFFFF
##4E5AC91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5ac9;
/* rgb */ color: rgb(78, 90, 201);
/* oklch */ color: oklch(52.0% 0.171 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b88da',
    500: '#4e5ac9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac9;
$custom-light: #8b88da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac9",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 234.146,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.17088,
    "h": 274.2
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#4E5AC9
secondary
#D3CE9F
accent
#CE4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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