#4E5BCF#4E5BCF

#4E5BCF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.178 H 273.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E5BCF
RGBrgb(78, 91, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 62%, 81%)
CMYKcmyk(62.3%, 56%, 0%, 18.8%)
CIE-LABlab(43.66, 30.72, -61.73)
CIE-LCHlch(43.66, 68.95, 296.46°)
OKLaboklab(52.64% 0.0117 -0.1774)
OKLCHoklch(52.64% 0.178 273.8)
XYZxyz(18.1417, 13.6054, 60.6895)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BCF #CFC24E
analogous
#4E9CCF #4E5BCF #814ECF
triadic
#4E5BCF #CF4E5B #5BCF4E
tetradic
#4E5BCF #CF4E9C #CFC24E #4ECF81
square
#4E5BCF #CF4E9C #CFC24E #4ECF81
split-complementary
#4E5BCF #CF814E #9CCF4E
monochromatic
#232C80 #303DB0 #4E5BCF #7E88DC #AEB4E9

Accessibility & contrast

On white

5.64
#4E5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E5BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BCF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BCF#FFFFFF#000000##FFFFFF
##4E5BCF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5bcf;
/* rgb */ color: rgb(78, 91, 207);
/* oklch */ color: oklch(52.6% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c89de',
    500: '#4e5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bcf;
$custom-light: #8c89de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bcf",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 233.953,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.17775,
    "h": 273.8
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#4E5BCF
secondary
#D7D2A2
accent
#D147E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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