#4E5CCF#4E5CCF

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

Color values

HEX#4E5CCF
RGBrgb(78, 92, 207)
HSLhsl(233, 57%, 56%)
HSVhsv(233, 62%, 81%)
CMYKcmyk(62.3%, 55.6%, 0%, 18.8%)
CIE-LABlab(43.91, 30.10, -61.32)
CIE-LCHlch(43.91, 68.31, 296.14°)
OKLaboklab(52.82% 0.0108 -0.1762)
OKLCHoklch(52.82% 0.176 273.5)
XYZxyz(18.2278, 13.7775, 60.7181)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CCF #CFC14E
analogous
#4E9CCF #4E5CCF #804ECF
triadic
#4E5CCF #CF4E5C #5CCF4E
tetradic
#4E5CCF #CF4E9C #CFC14E #4ECF80
square
#4E5CCF #CF4E9C #CFC14E #4ECF80
split-complementary
#4E5CCF #CF804E #9CCF4E
monochromatic
#232D80 #303EB0 #4E5CCF #7E88DC #AEB5E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5CCF#FFFFFF#000000##FFFFFF
##4E5CCF1.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)
#006ED3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5ccf;
/* rgb */ color: rgb(78, 92, 207);
/* oklch */ color: oklch(52.8% 0.176 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ade',
    500: '#4e5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ccf;
$custom-light: #8c8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ccf",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 233.488,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.17649,
    "h": 273.5
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#4E5CCF
secondary
#D7D1A2
accent
#D047E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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