#4D7CC9#4D7CC9

#4D7CC9 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.129 H 259.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D7CC9
RGBrgb(77, 124, 201)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 62%, 79%)
CMYKcmyk(61.7%, 38.3%, 0%, 21.2%)
CIE-LABlab(52.07, 7.93, -44.81)
CIE-LCHlch(52.07, 45.50, 280.04°)
OKLaboklab(58.91% -0.0229 -0.1273)
OKLCHoklch(58.91% 0.129 259.8)
XYZxyz(20.8071, 20.2082, 58.0511)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CC9 #C99A4D
analogous
#4DBAC9 #4D7CC9 #5C4DC9
triadic
#4D7CC9 #C94D7C #7CC94D
tetradic
#4D7CC9 #C94DBA #C99A4D #4DC95C
square
#4D7CC9 #C94DBA #C99A4D #4DC95C
split-complementary
#4D7CC9 #C95C4D #BAC94D
monochromatic
#244477 #325EA6 #4D7CC9 #7C9FD7 #ABC1E5

Accessibility & contrast

On white

4.17
#4D7CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4D7CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CC9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CC9#FFFFFF#000000##000000
##4D7CC91.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CC
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7cc9;
/* rgb */ color: rgb(77, 124, 201);
/* oklch */ color: oklch(58.9% 0.129 259.8);
Tailwind
colors: {
  custom: {
    50: '#89a1da',
    500: '#4d7cc9',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cc9;
$custom-light: #89a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cc9",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 201
  },
  "hsl": {
    "h": 217.258,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.1293,
    "h": 259.8
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#4D7CC9
secondary
#D3BF9F
accent
#A64BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4D7CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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