#4D66CA#4D66CA

#4D66CA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.157 H 269.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D66CA
RGBrgb(77, 102, 202)
HSLhsl(228, 54%, 55%)
HSVhsv(228, 62%, 79%)
CMYKcmyk(61.9%, 49.5%, 0%, 20.8%)
CIE-LABlab(46.10, 21.93, -54.92)
CIE-LCHlch(46.10, 59.14, 291.77°)
OKLaboklab(54.35% -0.0002 -0.1572)
OKLCHoklch(54.35% 0.157 269.9)
XYZxyz(18.4690, 15.3432, 57.8539)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66CA #CAB14D
analogous
#4DA5CA #4D66CA #734DCA
triadic
#4D66CA #CA4D66 #66CA4D
tetradic
#4D66CA #CA4DA5 #CAB14D #4DCA73
square
#4D66CA #CA4DA5 #CAB14D #4DCA73
split-complementary
#4D66CA #CA734D #A5CA4D
monochromatic
#243579 #324AA8 #4D66CA #7C8FD8 #ABB7E6

Accessibility & contrast

On white

5.16
#4D66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4D66CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66CA#FFFFFF#000000##FFFFFF
##4D66CA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d66ca;
/* rgb */ color: rgb(77, 102, 202);
/* oklch */ color: oklch(54.3% 0.157 269.9);
Tailwind
colors: {
  custom: {
    50: '#8a91db',
    500: '#4d66ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d66ca;
$custom-light: #8a91db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66ca",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 228,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.15722,
    "h": 269.9
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#4D66CA
secondary
#D4C99F
accent
#C04ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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