#4E5DAF#4E5DAF

#4E5DAF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.130 H 273.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4E5DAF
RGBrgb(78, 93, 175)
HSLhsl(231, 38%, 50%)
HSVhsv(231, 55%, 69%)
CMYKcmyk(55.4%, 46.9%, 0%, 31.4%)
CIE-LABlab(42.07, 18.66, -45.70)
CIE-LCHlch(42.07, 49.36, 292.21°)
OKLaboklab(50.76% 0.0071 -0.1302)
OKLCHoklch(50.76% 0.13 273.1)
XYZxyz(14.7916, 12.5425, 42.1906)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DAF #AFA04E
analogous
#4E8DAF #4E5DAF #704EAF
triadic
#4E5DAF #AF4E5D #5DAF4E
tetradic
#4E5DAF #AF4E8D #AFA04E #4EAF70
square
#4E5DAF #AF4E8D #AFA04E #4EAF70
split-complementary
#4E5DAF #AF704E #8DAF4E
monochromatic
#28305A #3B4785 #4E5DAF #7883C3 #A2AAD6

Accessibility & contrast

On white

5.98
#4E5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E5DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DAF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DAF#FFFFFF#000000##FFFFFF
##4E5DAF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#1A6F7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5daf;
/* rgb */ color: rgb(78, 93, 175);
/* oklch */ color: oklch(50.8% 0.130 273.1);
Tailwind
colors: {
  custom: {
    50: '#878ac7',
    500: '#4e5daf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5daf;
$custom-light: #878ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5daf",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 230.722,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.13037,
    "h": 273.1
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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