#4E66B5#4E66B5

#4E66B5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.0% C 0.127 H 269.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E66B5
RGBrgb(78, 102, 181)
HSLhsl(226, 41%, 51%)
HSVhsv(226, 57%, 71%)
CMYKcmyk(56.9%, 43.6%, 0%, 29%)
CIE-LABlab(44.88, 14.98, -44.71)
CIE-LCHlch(44.88, 47.15, 288.52°)
OKLaboklab(53.02% -0.0021 -0.1272)
OKLCHoklch(53.02% 0.127 269)
XYZxyz(16.2310, 14.4574, 45.6423)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66B5 #B59D4E
analogous
#4E9AB5 #4E66B5 #694EB5
triadic
#4E66B5 #B54E66 #66B54E
tetradic
#4E66B5 #B54E9A #B59D4E #4EB569
square
#4E66B5 #B54E9A #B59D4E #4EB569
split-complementary
#4E66B5 #B5694E #9AB54E
monochromatic
#283560 #3A4D8B #4E66B5 #798BC7 #A4B1D9

Accessibility & contrast

On white

5.40
#4E66B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E66B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66B5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66B5#FFFFFF#000000##FFFFFF
##4E66B51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#097785
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e66b5;
/* rgb */ color: rgb(78, 102, 181);
/* oklch */ color: oklch(53.0% 0.127 269.0);
Tailwind
colors: {
  custom: {
    50: '#8791cb',
    500: '#4e66b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e66b5;
$custom-light: #8791cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66b5",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 226.019,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.12723,
    "h": 269
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#4E66B5
secondary
#C6BC99
accent
#B457D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E66B5

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

Preview Lab → · Contrast checker → · Palette generator →

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