#4E66BD#4E66BD

#4E66BD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.5% C 0.139 H 269.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E66BD
RGBrgb(78, 102, 189)
HSLhsl(227, 46%, 52%)
HSVhsv(227, 59%, 74%)
CMYKcmyk(58.7%, 46%, 0%, 25.9%)
CIE-LABlab(45.35, 17.68, -48.61)
CIE-LCHlch(45.35, 51.73, 289.99°)
OKLaboklab(53.53% -0.0008 -0.1387)
OKLCHoklch(53.53% 0.139 269.6)
XYZxyz(17.0755, 14.7952, 50.0902)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66BD #BDA54E
analogous
#4E9EBD #4E66BD #6E4EBD
triadic
#4E66BD #BD4E66 #66BD4E
tetradic
#4E66BD #BD4E9E #BDA54E #4EBD6E
square
#4E66BD #BD4E9E #BDA54E #4EBD6E
split-complementary
#4E66BD #BD6E4E #9EBD4E
monochromatic
#273669 #384C96 #4E66BD #7B8DCE #A7B3DE

Accessibility & contrast

On white

5.30
#4E66BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4E66BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66BD#FFFFFF#000000##FFFFFF
##4E66BD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C0
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e66bd;
/* rgb */ color: rgb(78, 102, 189);
/* oklch */ color: oklch(53.5% 0.139 269.6);
Tailwind
colors: {
  custom: {
    50: '#8991d1',
    500: '#4e66bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e66bd;
$custom-light: #8991d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66bd",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 227.027,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.13866,
    "h": 269.6
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#4E66BD
secondary
#CCC19B
accent
#B952D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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