#4E5CA8#4E5CA8

#4E5CA8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.122 H 273.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4E5CA8
RGBrgb(78, 92, 168)
HSLhsl(231, 37%, 48%)
HSVhsv(231, 54%, 66%)
CMYKcmyk(53.6%, 45.2%, 0%, 34.1%)
CIE-LABlab(41.37, 16.97, -42.67)
CIE-LCHlch(41.37, 45.92, 291.69°)
OKLaboklab(50.1% 0.0072 -0.1213)
OKLCHoklch(50.1% 0.122 273.4)
XYZxyz(14.0346, 12.1002, 38.6342)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CA8 #A89A4E
analogous
#4E89A8 #4E5CA8 #6D4EA8
triadic
#4E5CA8 #A84E5C #5CA84E
tetradic
#4E5CA8 #A84E89 #A89A4E #4EA86D
square
#4E5CA8 #A84E89 #A89A4E #4EA86D
split-complementary
#4E5CA8 #A86D4E #89A84E
monochromatic
#272E54 #3B457E #4E5CA8 #7580BF #9EA6D2

Accessibility & contrast

On white

6.14
#4E5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CA8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CA8#FFFFFF#000000##FFFFFF
##4E5CA81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AB
Deuteranopia (green-blind)
#315EA6
Tritanopia (blue-blind)
#246D7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ca8;
/* rgb */ color: rgb(78, 92, 168);
/* oklch */ color: oklch(50.1% 0.122 273.4);
Tailwind
colors: {
  custom: {
    50: '#8689c2',
    500: '#4e5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ca8;
$custom-light: #8689c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ca8",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 230.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.12152,
    "h": 273.4
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#4E5CA8
secondary
#BFB893
accent
#BB5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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