#4E6CCA#4E6CCA

#4E6CCA is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.149 H 268.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E6CCA
RGBrgb(78, 108, 202)
HSLhsl(225, 54%, 55%)
HSVhsv(225, 61%, 79%)
CMYKcmyk(61.4%, 46.5%, 0%, 20.8%)
CIE-LABlab(47.76, 18.34, -52.25)
CIE-LCHlch(47.76, 55.38, 289.35°)
OKLaboklab(55.63% -0.0052 -0.1493)
OKLCHoklch(55.63% 0.149 268)
XYZxyz(19.1615, 16.6075, 58.0614)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CCA #CAAC4E
analogous
#4EAACA #4E6CCA #6E4ECA
triadic
#4E6CCA #CA4E6C #6CCA4E
tetradic
#4E6CCA #CA4EAA #CAAC4E #4ECA6E
square
#4E6CCA #CA4EAA #CAAC4E #4ECA6E
split-complementary
#4E6CCA #CA6E4E #AACA4E
monochromatic
#243979 #324FA8 #4E6CCA #7D93D8 #ACBAE6

Accessibility & contrast

On white

4.86
#4E6CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E6CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CCA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CCA#FFFFFF#000000##FFFFFF
##4E6CCA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CD
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e6cca;
/* rgb */ color: rgb(78, 108, 202);
/* oklch */ color: oklch(55.6% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#8b95db',
    500: '#4e6cca',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cca;
$custom-light: #8b95db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cca",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 202
  },
  "hsl": {
    "h": 225.484,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.14936,
    "h": 268
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#4E6CCA
secondary
#D4C7A0
accent
#BA4BDD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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