#4E6CDF#4E6CDF

#4E6CDF is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.178 H 269.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4E6CDF
RGBrgb(78, 108, 223)
HSLhsl(228, 69%, 59%)
HSVhsv(228, 65%, 87%)
CMYKcmyk(65%, 51.6%, 0%, 12.5%)
CIE-LABlab(49.09, 25.57, -62.06)
CIE-LCHlch(49.09, 67.12, 292.40°)
OKLaboklab(57.07% -0.0028 -0.1781)
OKLCHoklch(57.07% 0.178 269.1)
XYZxyz(21.8192, 17.6705, 72.0586)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CDF #DFC14E
analogous
#4EB5DF #4E6CDF #794EDF
triadic
#4E6CDF #DF4E6C #6CDF4E
tetradic
#4E6CDF #DF4EB5 #DFC14E #4EDF79
square
#4E6CDF #DF4EB5 #DFC14E #4EDF79
split-complementary
#4E6CDF #DF794E #B5DF4E
monochromatic
#1B3597 #2547CB #4E6CDF #8297E8 #B6C2F2

Accessibility & contrast

On white

4.63
#4E6CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4E6CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CDF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CDF#FFFFFF#000000##FFFFFF
##4E6CDF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#257CE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e6cdf;
/* rgb */ color: rgb(78, 108, 223);
/* oklch */ color: oklch(57.1% 0.178 269.1);
Tailwind
colors: {
  custom: {
    50: '#8e95ea',
    500: '#4e6cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cdf;
$custom-light: #8e95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cdf",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 227.586,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.17815,
    "h": 269.1
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#4E6CDF
secondary
#E1D5A8
accent
#C83CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E6CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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