#4E5FC1#4E5FC1

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

Color values

HEX#4E5FC1
RGBrgb(78, 95, 193)
HSLhsl(231, 48%, 53%)
HSVhsv(231, 60%, 76%)
CMYKcmyk(59.6%, 50.8%, 0%, 24.3%)
CIE-LABlab(43.73, 23.46, -53.53)
CIE-LCHlch(43.73, 58.45, 293.66°)
OKLaboklab(52.38% 0.007 -0.1532)
OKLCHoklch(52.38% 0.153 272.6)
XYZxyz(16.8566, 13.6530, 52.1887)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC1 #C1B04E
analogous
#4E99C1 #4E5FC1 #764EC1
triadic
#4E5FC1 #C14E5F #5FC14E
tetradic
#4E5FC1 #C14E99 #C1B04E #4EC176
square
#4E5FC1 #C14E99 #C1B04E #4EC176
split-complementary
#4E5FC1 #C1764E #99C14E
monochromatic
#27316E #36459B #4E5FC1 #7B88D1 #A9B1E1

Accessibility & contrast

On white

5.63
#4E5FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E5FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC1#FFFFFF#000000##FFFFFF
##4E5FC11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC5
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5fc1;
/* rgb */ color: rgb(78, 95, 193);
/* oklch */ color: oklch(52.4% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cd4',
    500: '#4e5fc1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc1;
$custom-light: #8a8cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc1",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 231.13,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.15337,
    "h": 272.6
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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