#4D66CD#4D66CD

#4D66CD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.161 H 270.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4D66CD
RGBrgb(77, 102, 205)
HSLhsl(228, 56%, 55%)
HSVhsv(228, 62%, 80%)
CMYKcmyk(62.4%, 50.2%, 0%, 19.6%)
CIE-LABlab(46.29, 22.96, -56.33)
CIE-LCHlch(46.29, 60.83, 292.18°)
OKLaboklab(54.56% 0.0001 -0.1614)
OKLCHoklch(54.56% 0.161 270)
XYZxyz(18.8277, 15.4867, 59.7428)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66CD #CDB44D
analogous
#4DA6CD #4D66CD #744DCD
triadic
#4D66CD #CD4D66 #66CD4D
tetradic
#4D66CD #CD4DA6 #CDB44D #4DCD74
square
#4D66CD #CD4DA6 #CDB44D #4DCD74
split-complementary
#4D66CD #CD744D #A6CD4D
monochromatic
#23357D #3049AC #4D66CD #7D8FDA #ADB8E8

Accessibility & contrast

On white

5.12
#4D66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4D66CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66CD#FFFFFF#000000##FFFFFF
##4D66CD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d66cd;
/* rgb */ color: rgb(77, 102, 205);
/* oklch */ color: oklch(54.6% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#8b91dd',
    500: '#4d66cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d66cd;
$custom-light: #8b91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66cd",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 228.281,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.16137,
    "h": 270
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#4D66CD
secondary
#D6CBA0
accent
#C248DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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