#4D66D9#4D66D9

#4D66D9 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.178 H 270.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D66D9
RGBrgb(77, 102, 217)
HSLhsl(229, 65%, 58%)
HSVhsv(229, 65%, 85%)
CMYKcmyk(64.5%, 53%, 0%, 14.9%)
CIE-LABlab(47.09, 27.09, -61.90)
CIE-LCHlch(47.09, 67.57, 293.64°)
OKLaboklab(55.41% 0.0011 -0.1777)
OKLCHoklch(55.41% 0.178 270.4)
XYZxyz(20.3321, 16.0884, 67.6661)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66D9 #D9C04D
analogous
#4DACD9 #4D66D9 #7A4DD9
triadic
#4D66D9 #D94D66 #66D94D
tetradic
#4D66D9 #D94DAC #D9C04D #4DD97A
square
#4D66D9 #D94DAC #D9C04D #4DD97A
split-complementary
#4D66D9 #D97A4D #ACD94D
monochromatic
#1E328D #2944C0 #4D66D9 #7F91E4 #B2BDEF

Accessibility & contrast

On white

4.98
#4D66D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4D66D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66D9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66D9#FFFFFF#000000##FFFFFF
##4D66D91.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1876DD
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d66d9;
/* rgb */ color: rgb(77, 102, 217);
/* oklch */ color: oklch(55.4% 0.178 270.4);
Tailwind
colors: {
  custom: {
    50: '#8d91e5',
    500: '#4d66d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d66d9;
$custom-light: #8d91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66d9",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 229.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.17775,
    "h": 270.4
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#4D66D9
secondary
#DDD3A5
accent
#CA40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D66D9

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

Preview Lab → · Contrast checker → · Palette generator →

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