#4E5FC4#4E5FC4

#4E5FC4 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.158 H 272.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC4
RGBrgb(78, 95, 196)
HSLhsl(231, 50%, 54%)
HSVhsv(231, 60%, 77%)
CMYKcmyk(60.2%, 51.5%, 0%, 23.1%)
CIE-LABlab(43.93, 24.47, -54.96)
CIE-LCHlch(43.93, 60.16, 294.01°)
OKLaboklab(52.59% 0.0073 -0.1574)
OKLCHoklch(52.59% 0.158 272.6)
XYZxyz(17.1946, 13.7883, 53.9691)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC4 #C4B34E
analogous
#4E9AC4 #4E5FC4 #784EC4
triadic
#4E5FC4 #C44E5F #5FC44E
tetradic
#4E5FC4 #C44E9A #C4B34E #4EC478
square
#4E5FC4 #C44E9A #C4B34E #4EC478
split-complementary
#4E5FC4 #C4784E #9AC44E
monochromatic
#263172 #3545A0 #4E5FC4 #7C88D3 #AAB2E3

Accessibility & contrast

On white

5.59
#4E5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4E5FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC4#FFFFFF#000000##FFFFFF
##4E5FC41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#0263C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5fc4;
/* rgb */ color: rgb(78, 95, 196);
/* oklch */ color: oklch(52.6% 0.158 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cd6',
    500: '#4e5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc4;
$custom-light: #8a8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc4",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 231.356,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.15756,
    "h": 272.6
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#4E5FC4
secondary
#D0C99E
accent
#C54EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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