#4E5CAC#4E5CAC

#4E5CAC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.127 H 273.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4E5CAC
RGBrgb(78, 92, 172)
HSLhsl(231, 38%, 49%)
HSVhsv(231, 55%, 67%)
CMYKcmyk(54.7%, 46.5%, 0%, 32.5%)
CIE-LABlab(41.61, 18.30, -44.65)
CIE-LCHlch(41.61, 48.25, 292.28°)
OKLaboklab(50.35% 0.0078 -0.1271)
OKLCHoklch(50.35% 0.127 273.5)
XYZxyz(14.4130, 12.2516, 40.6270)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CAC #AC9E4E
analogous
#4E8BAC #4E5CAC #6F4EAC
triadic
#4E5CAC #AC4E5C #5CAC4E
tetradic
#4E5CAC #AC4E8B #AC9E4E #4EAC6F
square
#4E5CAC #AC4E8B #AC9E4E #4EAC6F
split-complementary
#4E5CAC #AC6F4E #8BAC4E
monochromatic
#282F58 #3B4582 #4E5CAC #7681C1 #A0A8D4

Accessibility & contrast

On white

6.09
#4E5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E5CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CAC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CAC#FFFFFF#000000##FFFFFF
##4E5CAC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#1F6E7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5cac;
/* rgb */ color: rgb(78, 92, 172);
/* oklch */ color: oklch(50.4% 0.127 273.5);
Tailwind
colors: {
  custom: {
    50: '#8789c5',
    500: '#4e5cac',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cac;
$custom-light: #8789c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cac",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 231.064,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.12737,
    "h": 273.5
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#4E5CAC
secondary
#C1BA95
accent
#BC5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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