#4E6CD1#4E6CD1

#4E6CD1 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.159 H 268.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E6CD1
RGBrgb(78, 108, 209)
HSLhsl(226, 59%, 56%)
HSVhsv(226, 63%, 82%)
CMYKcmyk(62.7%, 48.3%, 0%, 18%)
CIE-LABlab(48.19, 20.75, -55.56)
CIE-LCHlch(48.19, 59.31, 290.48°)
OKLaboklab(56.09% -0.0043 -0.159)
OKLCHoklch(56.09% 0.159 268.5)
XYZxyz(20.0092, 16.9465, 62.5258)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD1 #D1B34E
analogous
#4EADD1 #4E6CD1 #724ED1
triadic
#4E6CD1 #D14E6C #6CD14E
tetradic
#4E6CD1 #D14EAD #D1B34E #4ED172
square
#4E6CD1 #D14EAD #D1B34E #4ED172
split-complementary
#4E6CD1 #D1724E #ADD14E
monochromatic
#223883 #2F4DB3 #4E6CD1 #7F94DE #AFBDEA

Accessibility & contrast

On white

4.78
#4E6CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E6CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD1#FFFFFF#000000##FFFFFF
##4E6CD11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D5
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e6cd1;
/* rgb */ color: rgb(78, 108, 209);
/* oklch */ color: oklch(56.1% 0.159 268.5);
Tailwind
colors: {
  custom: {
    50: '#8c95e0',
    500: '#4e6cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd1;
$custom-light: #8c95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd1",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 226.26,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.15907,
    "h": 268.5
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#4E6CD1
secondary
#D8CCA2
accent
#BE46E2
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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