#4D6FC2#4D6FC2

#4D6FC2 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.135 H 265.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4D6FC2
RGBrgb(77, 111, 194)
HSLhsl(223, 49%, 53%)
HSVhsv(223, 60%, 76%)
CMYKcmyk(60.3%, 42.8%, 0%, 23.9%)
CIE-LABlab(48.06, 13.55, -47.18)
CIE-LCHlch(48.06, 49.09, 286.02°)
OKLaboklab(55.69% -0.0106 -0.1344)
OKLCHoklch(55.69% 0.135 265.5)
XYZxyz(18.4793, 16.8401, 53.3051)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6FC2 #C2A04D
analogous
#4DA9C2 #4D6FC2 #654DC2
triadic
#4D6FC2 #C24D6F #6FC24D
tetradic
#4D6FC2 #C24DA9 #C2A04D #4DC265
square
#4D6FC2 #C24DA9 #C2A04D #4DC265
split-complementary
#4D6FC2 #C2654D #A9C24D
monochromatic
#263B6F #36539C #4D6FC2 #7B94D2 #A8B9E1

Accessibility & contrast

On white

4.81
#4D6FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4D6FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6FC2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6FC2#FFFFFF#000000##FFFFFF
##4D6FC21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#396DC0
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d6fc2;
/* rgb */ color: rgb(77, 111, 194);
/* oklch */ color: oklch(55.7% 0.135 265.5);
Tailwind
colors: {
  custom: {
    50: '#8997d5',
    500: '#4d6fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d6fc2;
$custom-light: #8997d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6fc2",
  "rgb": {
    "r": 77,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 222.564,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.13479,
    "h": 265.5
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#4D6FC2
secondary
#CFC09C
accent
#B14FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4D6FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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