#4E6BD1#4E6BD1

#4E6BD1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.9% C 0.160 H 268.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E6BD1
RGBrgb(78, 107, 209)
HSLhsl(227, 59%, 56%)
HSVhsv(227, 63%, 82%)
CMYKcmyk(62.7%, 48.8%, 0%, 18%)
CIE-LABlab(47.93, 21.37, -55.99)
CIE-LCHlch(47.93, 59.93, 290.89°)
OKLaboklab(55.89% -0.0033 -0.1603)
OKLCHoklch(55.89% 0.16 268.8)
XYZxyz(19.9043, 16.7368, 62.4908)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BD1 #D1B44E
analogous
#4EACD1 #4E6BD1 #734ED1
triadic
#4E6BD1 #D14E6B #6BD14E
tetradic
#4E6BD1 #D14EAC #D1B44E #4ED173
square
#4E6BD1 #D14EAC #D1B44E #4ED173
split-complementary
#4E6BD1 #D1734E #ACD14E
monochromatic
#223783 #2F4CB3 #4E6BD1 #7F94DE #AFBCEA

Accessibility & contrast

On white

4.83
#4E6BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E6BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BD1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BD1#FFFFFF#000000##FFFFFF
##4E6BD11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3578D5
Deuteranopia (green-blind)
#186CCF
Tritanopia (blue-blind)
#008294
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e6bd1;
/* rgb */ color: rgb(78, 107, 209);
/* oklch */ color: oklch(55.9% 0.160 268.8);
Tailwind
colors: {
  custom: {
    50: '#8c94e0',
    500: '#4e6bd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bd1;
$custom-light: #8c94e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bd1",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 209
  },
  "hsl": {
    "h": 226.718,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.16031,
    "h": 268.8
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E6BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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