#4E66B3#4E66B3

#4E66B3 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.9% C 0.124 H 268.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E66B3
RGBrgb(78, 102, 179)
HSLhsl(226, 40%, 50%)
HSVhsv(226, 56%, 70%)
CMYKcmyk(56.4%, 43%, 0%, 29.8%)
CIE-LABlab(44.77, 14.31, -43.73)
CIE-LCHlch(44.77, 46.01, 288.12°)
OKLaboklab(52.9% -0.0025 -0.1243)
OKLCHoklch(52.9% 0.124 268.8)
XYZxyz(16.0272, 14.3759, 44.5693)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66B3 #B39B4E
analogous
#4E98B3 #4E66B3 #694EB3
triadic
#4E66B3 #B34E66 #66B34E
tetradic
#4E66B3 #B34E98 #B39B4E #4EB369
square
#4E66B3 #B34E98 #B39B4E #4EB369
split-complementary
#4E66B3 #B3694E #98B34E
monochromatic
#28355E #3B4D89 #4E66B3 #798BC5 #A4B0D8

Accessibility & contrast

On white

5.42
#4E66B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E66B3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66B3#FFFFFF#000000##FFFFFF
##4E66B31.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#3866B1
Tritanopia (blue-blind)
#0F7784
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e66b3;
/* rgb */ color: rgb(78, 102, 179);
/* oklch */ color: oklch(52.9% 0.124 268.8);
Tailwind
colors: {
  custom: {
    50: '#8791ca',
    500: '#4e66b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e66b3;
$custom-light: #8791ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66b3",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 225.743,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.12435,
    "h": 268.8
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#4E66B3
secondary
#C5BA98
accent
#B358D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E66B3

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

Preview Lab → · Contrast checker → · Palette generator →

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