#4D7CDD#4D7CDD

#4D7CDD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.156 H 263.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4D7CDD
RGBrgb(77, 124, 221)
HSLhsl(220, 68%, 58%)
HSVhsv(220, 65%, 87%)
CMYKcmyk(65.2%, 43.9%, 0%, 13.3%)
CIE-LABlab(53.18, 14.80, -54.37)
CIE-LCHlch(53.18, 56.35, 285.23°)
OKLaboklab(60.13% -0.0189 -0.1553)
OKLCHoklch(60.13% 0.156 263.1)
XYZxyz(23.3148, 21.2113, 71.2581)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CDD #DDAE4D
analogous
#4DC4DD #4D7CDD #664DDD
triadic
#4D7CDD #DD4D7C #7CDD4D
tetradic
#4D7CDD #DD4DC4 #DDAE4D #4DDD66
square
#4D7CDD #DD4DC4 #DDAE4D #4DDD66
split-complementary
#4D7CDD #DD664D #C4DD4D
monochromatic
#1C4393 #265AC7 #4D7CDD #80A2E7 #B4C8F1

Accessibility & contrast

On white

4.01
#4D7CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4D7CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CDD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CDD#FFFFFF#000000##000000
##4D7CDD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E1
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7cdd;
/* rgb */ color: rgb(77, 124, 221);
/* oklch */ color: oklch(60.1% 0.156 263.1);
Tailwind
colors: {
  custom: {
    50: '#8da1e8',
    500: '#4d7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cdd;
$custom-light: #8da1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cdd",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 220.417,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.15645,
    "h": 263.1
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#4D7CDD
secondary
#DFCDA6
accent
#B23DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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