#4D5DC2#4D5DC2

#4D5DC2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.158 H 272.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4D5DC2
RGBrgb(77, 93, 194)
HSLhsl(232, 49%, 53%)
HSVhsv(232, 60%, 76%)
CMYKcmyk(60.3%, 52.1%, 0%, 23.9%)
CIE-LABlab(43.21, 24.87, -54.95)
CIE-LCHlch(43.21, 60.32, 294.35°)
OKLaboklab(52% 0.008 -0.1574)
OKLCHoklch(52% 0.158 272.9)
XYZxyz(16.7093, 13.3002, 52.7151)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DC2 #C2B24D
analogous
#4D97C2 #4D5DC2 #774DC2
triadic
#4D5DC2 #C24D5D #5DC24D
tetradic
#4D5DC2 #C24D97 #C2B24D #4DC277
square
#4D5DC2 #C24D97 #C2B24D #4DC277
split-complementary
#4D5DC2 #C2774D #97C24D
monochromatic
#26306F #36449C #4D5DC2 #7B86D2 #A8B0E1

Accessibility & contrast

On white

5.74
#4D5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4D5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DC2#FFFFFF#000000##FFFFFF
##4D5DC21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5dc2;
/* rgb */ color: rgb(77, 93, 194);
/* oklch */ color: oklch(52.0% 0.158 272.9);
Tailwind
colors: {
  custom: {
    50: '#898ad5',
    500: '#4d5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5dc2;
$custom-light: #898ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5dc2",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 231.795,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.15764,
    "h": 272.9
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#4D5DC2
secondary
#CFC89C
accent
#C64FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4D5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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