#4D66CB#4D66CB

#4D66CB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.159 H 270.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D66CB
RGBrgb(77, 102, 203)
HSLhsl(228, 55%, 55%)
HSVhsv(228, 62%, 80%)
CMYKcmyk(62.1%, 49.8%, 0%, 20.4%)
CIE-LABlab(46.16, 22.27, -55.39)
CIE-LCHlch(46.16, 59.70, 291.90°)
OKLaboklab(54.42% -0.0001 -0.1586)
OKLCHoklch(54.42% 0.159 270)
XYZxyz(18.5878, 15.3907, 58.4795)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66CB #CBB24D
analogous
#4DA5CB #4D66CB #734DCB
triadic
#4D66CB #CB4D66 #66CB4D
tetradic
#4D66CB #CB4DA5 #CBB24D #4DCB73
square
#4D66CB #CB4DA5 #CBB24D #4DCB73
split-complementary
#4D66CB #CB734D #A5CB4D
monochromatic
#24357A #3149A9 #4D66CB #7C8FD9 #ACB7E7

Accessibility & contrast

On white

5.15
#4D66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4D66CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66CB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66CB#FFFFFF#000000##FFFFFF
##4D66CB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d66cb;
/* rgb */ color: rgb(77, 102, 203);
/* oklch */ color: oklch(54.4% 0.159 270.0);
Tailwind
colors: {
  custom: {
    50: '#8a91db',
    500: '#4d66cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d66cb;
$custom-light: #8a91db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66cb",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 228.095,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.15861,
    "h": 270
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#4D66CB
secondary
#D4CA9F
accent
#C14ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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