#4E6DCA#4E6DCA

#4E6DCA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.8% C 0.148 H 267.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E6DCA
RGBrgb(78, 109, 202)
HSLhsl(225, 54%, 55%)
HSVhsv(225, 61%, 79%)
CMYKcmyk(61.4%, 46%, 0%, 20.8%)
CIE-LABlab(48.03, 17.72, -51.82)
CIE-LCHlch(48.03, 54.76, 288.88°)
OKLaboklab(55.83% -0.0062 -0.148)
OKLCHoklch(55.83% 0.148 267.6)
XYZxyz(19.2676, 16.8196, 58.0968)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6DCA #CAAB4E
analogous
#4EABCA #4E6DCA #6D4ECA
triadic
#4E6DCA #CA4E6D #6DCA4E
tetradic
#4E6DCA #CA4EAB #CAAB4E #4ECA6D
square
#4E6DCA #CA4EAB #CAAB4E #4ECA6D
split-complementary
#4E6DCA #CA6D4E #ABCA4E
monochromatic
#243A79 #3250A8 #4E6DCA #7D94D8 #ACBBE6

Accessibility & contrast

On white

4.81
#4E6DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4E6DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6DCA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6DCA#FFFFFF#000000##FFFFFF
##4E6DCA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CD
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e6dca;
/* rgb */ color: rgb(78, 109, 202);
/* oklch */ color: oklch(55.8% 0.148 267.6);
Tailwind
colors: {
  custom: {
    50: '#8b96db',
    500: '#4e6dca',
    950: '#000000',
  },
}
SCSS
$custom: #4e6dca;
$custom-light: #8b96db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6dca",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 225,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.14812,
    "h": 267.6
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E6DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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