#4D6DEC#4D6DEC

#4D6DEC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.1% C 0.195 H 268.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4D6DEC
RGBrgb(77, 109, 236)
HSLhsl(228, 81%, 61%)
HSVhsv(228, 67%, 93%)
CMYKcmyk(67.4%, 53.8%, 0%, 7.5%)
CIE-LABlab(50.18, 29.29, -67.62)
CIE-LCHlch(50.18, 73.69, 293.42°)
OKLaboklab(58.15% -0.0037 -0.1945)
OKLCHoklch(58.15% 0.195 268.9)
XYZxyz(23.6643, 18.5689, 81.6777)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6DEC #ECCC4D
analogous
#4DBCEC #4D6DEC #7D4DEC
triadic
#4D6DEC #EC4D6D #6DEC4D
tetradic
#4D6DEC #EC4DBC #ECCC4D #4DEC7D
square
#4D6DEC #EC4DBC #ECCC4D #4DEC7D
split-complementary
#4D6DEC #EC7D4D #BCEC4D
monochromatic
#1231AC #1841E4 #4D6DEC #849AF2 #BCC8F8

Accessibility & contrast

On white

4.45
#4D6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4D6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D6DEC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6DEC#FFFFFF#000000##000000
##4D6DEC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF0
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d6dec;
/* rgb */ color: rgb(77, 109, 236);
/* oklch */ color: oklch(58.1% 0.195 268.9);
Tailwind
colors: {
  custom: {
    50: '#9096f3',
    500: '#4d6dec',
    950: '#000000',
  },
}
SCSS
$custom: #4d6dec;
$custom-light: #9096f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6dec",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 227.925,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.19454,
    "h": 268.9
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#4D6DEC
secondary
#E8DCAD
accent
#B208DD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4D6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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