#4D66DF#4D66DF

#4D66DF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.186 H 270.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D66DF
RGBrgb(77, 102, 223)
HSLhsl(230, 70%, 59%)
HSVhsv(230, 65%, 87%)
CMYKcmyk(65.5%, 54.3%, 0%, 12.5%)
CIE-LABlab(47.50, 29.16, -64.63)
CIE-LCHlch(47.50, 70.91, 294.28°)
OKLaboklab(55.85% 0.0015 -0.1858)
OKLCHoklch(55.85% 0.186 270.5)
XYZxyz(21.1267, 16.4063, 71.8511)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66DF #DFC64D
analogous
#4DAFDF #4D66DF #7D4DDF
triadic
#4D66DF #DF4D66 #66DF4D
tetradic
#4D66DF #DF4DAF #DFC64D #4DDF7D
square
#4D66DF #DF4DAF #DFC64D #4DDF7D
split-complementary
#4D66DF #DF7D4D #AFDF4D
monochromatic
#1B3097 #2441CA #4D66DF #8193E8 #B5BFF2

Accessibility & contrast

On white

4.90
#4D66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4D66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66DF#FFFFFF#000000##FFFFFF
##4D66DF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d66df;
/* rgb */ color: rgb(77, 102, 223);
/* oklch */ color: oklch(55.9% 0.186 270.5);
Tailwind
colors: {
  custom: {
    50: '#8e91ea',
    500: '#4d66df',
    950: '#000000',
  },
}
SCSS
$custom: #4d66df;
$custom-light: #8e91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66df",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 229.726,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.18582,
    "h": 270.5
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#4D66DF
secondary
#E1D7A7
accent
#CE3BEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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