#4D7CCC#4D7CCC

#4D7CCC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.1% C 0.133 H 260.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4D7CCC
RGBrgb(77, 124, 204)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(62.3%, 39.2%, 0%, 20%)
CIE-LABlab(52.23, 8.95, -46.26)
CIE-LCHlch(52.23, 47.12, 280.95°)
OKLaboklab(59.09% -0.0222 -0.1315)
OKLCHoklch(59.09% 0.133 260.4)
XYZxyz(21.1635, 20.3508, 59.9278)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CCC #CC9D4D
analogous
#4DBCCC #4D7CCC #5D4DCC
triadic
#4D7CCC #CC4D7C #7CCC4D
tetradic
#4D7CCC #CC4DBC #CC9D4D #4DCC5D
square
#4D7CCC #CC4DBC #CC9D4D #4DCC5D
split-complementary
#4D7CCC #CC5D4D #BCCC4D
monochromatic
#23447B #315EAB #4D7CCC #7D9FDA #ACC2E7

Accessibility & contrast

On white

4.14
#4D7CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4D7CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CCC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CCC#FFFFFF#000000##000000
##4D7CCC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7ccc;
/* rgb */ color: rgb(77, 124, 204);
/* oklch */ color: oklch(59.1% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#8aa1dc',
    500: '#4d7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ccc;
$custom-light: #8aa1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ccc",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 217.795,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.13339,
    "h": 260.4
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#4D7CCC
secondary
#D5C1A0
accent
#A749DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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