#4E66BC#4E66BC

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

Color values

HEX#4E66BC
RGBrgb(78, 102, 188)
HSLhsl(227, 45%, 52%)
HSVhsv(227, 59%, 74%)
CMYKcmyk(58.5%, 45.7%, 0%, 26.3%)
CIE-LABlab(45.29, 17.34, -48.13)
CIE-LCHlch(45.29, 51.16, 289.81°)
OKLaboklab(53.47% -0.001 -0.1372)
OKLCHoklch(53.47% 0.137 269.6)
XYZxyz(16.9673, 14.7519, 49.5205)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66BC #BCA44E
analogous
#4E9DBC #4E66BC #6D4EBC
triadic
#4E66BC #BC4E66 #66BC4E
tetradic
#4E66BC #BC4E9D #BCA44E #4EBC6D
square
#4E66BC #BC4E9D #BCA44E #4EBC6D
split-complementary
#4E66BC #BC6D4E #9DBC4E
monochromatic
#273668 #384C95 #4E66BC #7A8CCD #A7B3DE

Accessibility & contrast

On white

5.32
#4E66BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4E66BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66BC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66BC#FFFFFF#000000##FFFFFF
##4E66BC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e66bc;
/* rgb */ color: rgb(78, 102, 188);
/* oklch */ color: oklch(53.5% 0.137 269.6);
Tailwind
colors: {
  custom: {
    50: '#8991d1',
    500: '#4e66bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e66bc;
$custom-light: #8991d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66bc",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 226.909,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.13724,
    "h": 269.6
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#4E66BC
secondary
#CBC09B
accent
#B853D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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