#4E5DAC#4E5DAC

#4E5DAC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.126 H 273.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E5DAC
RGBrgb(78, 93, 172)
HSLhsl(230, 38%, 49%)
HSVhsv(230, 55%, 67%)
CMYKcmyk(54.7%, 45.9%, 0%, 32.5%)
CIE-LABlab(41.89, 17.66, -44.22)
CIE-LCHlch(41.89, 47.61, 291.77°)
OKLaboklab(50.56% 0.0066 -0.1258)
OKLCHoklch(50.56% 0.126 273)
XYZxyz(14.5002, 12.4260, 40.6561)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DAC #AC9D4E
analogous
#4E8CAC #4E5DAC #6E4EAC
triadic
#4E5DAC #AC4E5D #5DAC4E
tetradic
#4E5DAC #AC4E8C #AC9D4E #4EAC6E
square
#4E5DAC #AC4E8C #AC9D4E #4EAC6E
split-complementary
#4E5DAC #AC6E4E #8CAC4E
monochromatic
#282F58 #3B4682 #4E5DAC #7682C1 #A0A9D4

Accessibility & contrast

On white

6.03
#4E5DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E5DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DAC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DAC#FFFFFF#000000##FFFFFF
##4E5DAC1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#1F6E7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5dac;
/* rgb */ color: rgb(78, 93, 172);
/* oklch */ color: oklch(50.6% 0.126 273.0);
Tailwind
colors: {
  custom: {
    50: '#868ac5',
    500: '#4e5dac',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dac;
$custom-light: #868ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dac",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 172
  },
  "hsl": {
    "h": 230.426,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.12601,
    "h": 273
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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