#4E66B1#4E66B1

#4E66B1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.121 H 268.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4E66B1
RGBrgb(78, 102, 177)
HSLhsl(225, 39%, 50%)
HSVhsv(225, 56%, 69%)
CMYKcmyk(55.9%, 42.4%, 0%, 30.6%)
CIE-LABlab(44.65, 13.64, -42.74)
CIE-LCHlch(44.65, 44.86, 287.70°)
OKLaboklab(52.77% -0.0029 -0.1214)
OKLCHoklch(52.77% 0.121 268.6)
XYZxyz(15.8264, 14.2956, 43.5118)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66B1 #B1994E
analogous
#4E97B1 #4E66B1 #684EB1
triadic
#4E66B1 #B14E66 #66B14E
tetradic
#4E66B1 #B14E97 #B1994E #4EB168
square
#4E66B1 #B14E97 #B1994E #4EB168
split-complementary
#4E66B1 #B1684E #97B14E
monochromatic
#29355C #3B4E87 #4E66B1 #788BC4 #A3AFD6

Accessibility & contrast

On white

5.44
#4E66B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E66B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66B1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66B1#FFFFFF#000000##FFFFFF
##4E66B11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#3A66AF
Tritanopia (blue-blind)
#147683
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e66b1;
/* rgb */ color: rgb(78, 102, 177);
/* oklch */ color: oklch(52.8% 0.121 268.6);
Tailwind
colors: {
  custom: {
    50: '#8791c9',
    500: '#4e66b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e66b1;
$custom-light: #8791c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66b1",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 225.455,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.12145,
    "h": 268.6
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#4E66B1
secondary
#C4B997
accent
#B259CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E66B1

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

Preview Lab → · Contrast checker → · Palette generator →

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