#4E66DC#4E66DC

#4E66DC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.182 H 270.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4E66DC
RGBrgb(78, 102, 220)
HSLhsl(230, 67%, 58%)
HSVhsv(230, 65%, 86%)
CMYKcmyk(64.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(47.35, 28.28, -63.18)
CIE-LCHlch(47.35, 69.22, 294.12°)
OKLaboklab(55.69% 0.0023 -0.1815)
OKLCHoklch(55.69% 0.182 270.7)
XYZxyz(20.8072, 16.2879, 69.7436)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66DC #DCC44E
analogous
#4EADDC #4E66DC #7D4EDC
triadic
#4E66DC #DC4E66 #66DC4E
tetradic
#4E66DC #DC4EAD #DCC44E #4EDC7D
square
#4E66DC #DC4EAD #DCC44E #4EDC7D
split-complementary
#4E66DC #DC7D4E #ADDC4E
monochromatic
#1D3193 #2742C6 #4E66DC #8192E6 #B4BEF0

Accessibility & contrast

On white

4.93
#4E66DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4E66DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66DC#FFFFFF#000000##FFFFFF
##4E66DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F77E0
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e66dc;
/* rgb */ color: rgb(78, 102, 220);
/* oklch */ color: oklch(55.7% 0.182 270.7);
Tailwind
colors: {
  custom: {
    50: '#8e91e8',
    500: '#4e66dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e66dc;
$custom-light: #8e91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66dc",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 229.859,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.18151,
    "h": 270.7
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#4E66DC
secondary
#DFD6A7
accent
#CD3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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