#4D6CDB#4D6CDB

#4D6CDB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.173 H 268.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4D6CDB
RGBrgb(77, 108, 219)
HSLhsl(227, 66%, 58%)
HSVhsv(227, 65%, 86%)
CMYKcmyk(64.8%, 50.7%, 0%, 14.1%)
CIE-LABlab(48.78, 24.03, -60.31)
CIE-LCHlch(48.78, 64.92, 291.73°)
OKLaboklab(56.73% -0.0041 -0.173)
OKLCHoklch(56.73% 0.173 268.6)
XYZxyz(21.2049, 17.4154, 69.2481)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6CDB #DBBC4D
analogous
#4DB3DB #4D6CDB #754DDB
triadic
#4D6CDB #DB4D6C #6CDB4D
tetradic
#4D6CDB #DB4DB3 #DBBC4D #4DDB75
square
#4D6CDB #DB4DB3 #DBBC4D #4DDB75
split-complementary
#4D6CDB #DB754D #B3DB4D
monochromatic
#1D3690 #274AC3 #4D6CDB #8096E5 #B3C0F0

Accessibility & contrast

On white

4.68
#4D6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4D6CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6CDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6CDB#FFFFFF#000000##FFFFFF
##4D6CDB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d6cdb;
/* rgb */ color: rgb(77, 108, 219);
/* oklch */ color: oklch(56.7% 0.173 268.6);
Tailwind
colors: {
  custom: {
    50: '#8d95e7',
    500: '#4d6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4d6cdb;
$custom-light: #8d95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6cdb",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 226.901,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.17304,
    "h": 268.6
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#4D6CDB
secondary
#DED2A6
accent
#C43FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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