#4E5FC2#4E5FC2

#4E5FC2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.155 H 272.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC2
RGBrgb(78, 95, 194)
HSLhsl(231, 49%, 53%)
HSVhsv(231, 60%, 76%)
CMYKcmyk(59.8%, 51%, 0%, 23.9%)
CIE-LABlab(43.80, 23.80, -54.01)
CIE-LCHlch(43.80, 59.02, 293.78°)
OKLaboklab(52.45% 0.0071 -0.1546)
OKLCHoklch(52.45% 0.155 272.6)
XYZxyz(16.9685, 13.6978, 52.7782)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC2 #C2B14E
analogous
#4E99C2 #4E5FC2 #774EC2
triadic
#4E5FC2 #C24E5F #5FC24E
tetradic
#4E5FC2 #C24E99 #C2B14E #4EC277
square
#4E5FC2 #C24E99 #C2B14E #4EC277
split-complementary
#4E5FC2 #C2774E #99C24E
monochromatic
#26316F #36459D #4E5FC2 #7C88D2 #A9B1E1

Accessibility & contrast

On white

5.62
#4E5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC2#FFFFFF#000000##FFFFFF
##4E5FC21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#0B63C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5fc2;
/* rgb */ color: rgb(78, 95, 194);
/* oklch */ color: oklch(52.5% 0.155 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cd5',
    500: '#4e5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc2;
$custom-light: #8a8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc2",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 231.207,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.15477,
    "h": 272.6
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#4E5FC2
secondary
#CFC89D
accent
#C450D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4E5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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