#4E66B4#4E66B4

#4E66B4 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.126 H 268.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E66B4
RGBrgb(78, 102, 180)
HSLhsl(226, 40%, 51%)
HSVhsv(226, 57%, 71%)
CMYKcmyk(56.7%, 43.3%, 0%, 29.4%)
CIE-LABlab(44.82, 14.64, -44.22)
CIE-LCHlch(44.82, 46.58, 288.32°)
OKLaboklab(52.96% -0.0023 -0.1258)
OKLCHoklch(52.96% 0.126 268.9)
XYZxyz(16.1287, 14.4165, 45.1039)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66B4 #B49C4E
analogous
#4E99B4 #4E66B4 #694EB4
triadic
#4E66B4 #B44E66 #66B44E
tetradic
#4E66B4 #B44E99 #B49C4E #4EB469
square
#4E66B4 #B44E99 #B49C4E #4EB469
split-complementary
#4E66B4 #B4694E #99B44E
monochromatic
#28355F #3B4D8A #4E66B4 #798BC6 #A4B0D8

Accessibility & contrast

On white

5.41
#4E66B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E66B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66B4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66B4#FFFFFF#000000##FFFFFF
##4E66B41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB7
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#0D7784
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e66b4;
/* rgb */ color: rgb(78, 102, 180);
/* oklch */ color: oklch(53.0% 0.126 268.9);
Tailwind
colors: {
  custom: {
    50: '#8791cb',
    500: '#4e66b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e66b4;
$custom-light: #8791cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66b4",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 225.882,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.12578,
    "h": 268.9
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#4E66B4
secondary
#C6BB98
accent
#B457D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E66B4

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

Preview Lab → · Contrast checker → · Palette generator →

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