#4D66DB#4D66DB

#4D66DB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.180 H 270.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4D66DB
RGBrgb(77, 102, 219)
HSLhsl(229, 66%, 58%)
HSVhsv(229, 65%, 86%)
CMYKcmyk(64.8%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.23, 27.78, -62.81)
CIE-LCHlch(47.23, 68.68, 293.86°)
OKLaboklab(55.56% 0.0013 -0.1804)
OKLCHoklch(55.56% 0.18 270.4)
XYZxyz(20.5938, 16.1931, 69.0444)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66DB #DBC24D
analogous
#4DADDB #4D66DB #7B4DDB
triadic
#4D66DB #DB4D66 #66DB4D
tetradic
#4D66DB #DB4DAD #DBC24D #4DDB7B
square
#4D66DB #DB4DAD #DBC24D #4DDB7B
split-complementary
#4D66DB #DB7B4D #ADDB4D
monochromatic
#1D3190 #2743C3 #4D66DB #8092E5 #B3BEF0

Accessibility & contrast

On white

4.95
#4D66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4D66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66DB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66DB#FFFFFF#000000##FFFFFF
##4D66DB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1277DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d66db;
/* rgb */ color: rgb(77, 102, 219);
/* oklch */ color: oklch(55.6% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#8d91e7',
    500: '#4d66db',
    950: '#000000',
  },
}
SCSS
$custom: #4d66db;
$custom-light: #8d91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66db",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 229.437,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.18045,
    "h": 270.4
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#4D66DB
secondary
#DED4A6
accent
#CB3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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