#4D66C8#4D66C8

#4D66C8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.2% C 0.154 H 269.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4D66C8
RGBrgb(77, 102, 200)
HSLhsl(228, 53%, 54%)
HSVhsv(228, 62%, 78%)
CMYKcmyk(61.5%, 49%, 0%, 21.6%)
CIE-LABlab(45.97, 21.24, -53.97)
CIE-LCHlch(45.97, 58.00, 291.48°)
OKLaboklab(54.21% -0.0004 -0.1544)
OKLCHoklch(54.21% 0.154 269.8)
XYZxyz(18.2338, 15.2491, 56.6149)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66C8 #C8AF4D
analogous
#4DA4C8 #4D66C8 #724DC8
triadic
#4D66C8 #C84D66 #66C84D
tetradic
#4D66C8 #C84DA4 #C8AF4D #4DC872
square
#4D66C8 #C84DA4 #C8AF4D #4DC872
split-complementary
#4D66C8 #C8724D #A4C84D
monochromatic
#243576 #334AA5 #4D66C8 #7C8ED6 #ABB6E5

Accessibility & contrast

On white

5.18
#4D66C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4D66C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66C8#FFFFFF#000000##FFFFFF
##4D66C81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#1968C6
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d66c8;
/* rgb */ color: rgb(77, 102, 200);
/* oklch */ color: oklch(54.2% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#8a91d9',
    500: '#4d66c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d66c8;
$custom-light: #8a91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66c8",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 227.805,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.15444,
    "h": 269.8
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#4D66C8
secondary
#D2C89E
accent
#BF4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66C8

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

Preview Lab → · Contrast checker → · Palette generator →

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