#4D7CCB#4D7CCB

#4D7CCB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.132 H 260.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4D7CCB
RGBrgb(77, 124, 203)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(62.1%, 38.9%, 0%, 20.4%)
CIE-LABlab(52.18, 8.61, -45.78)
CIE-LCHlch(52.18, 46.58, 280.65°)
OKLaboklab(59.03% -0.0224 -0.1301)
OKLCHoklch(59.03% 0.132 260.2)
XYZxyz(21.0439, 20.3030, 59.2982)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CCB #CB9C4D
analogous
#4DBBCB #4D7CCB #5D4DCB
triadic
#4D7CCB #CB4D7C #7CCB4D
tetradic
#4D7CCB #CB4DBB #CB9C4D #4DCB5D
square
#4D7CCB #CB4DBB #CB9C4D #4DCB5D
split-complementary
#4D7CCB #CB5D4D #BBCB4D
monochromatic
#24447A #315EA9 #4D7CCB #7C9FD9 #ACC2E7

Accessibility & contrast

On white

4.15
#4D7CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4D7CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CCB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CCB#FFFFFF#000000##000000
##4D7CCB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7ccb;
/* rgb */ color: rgb(77, 124, 203);
/* oklch */ color: oklch(59.0% 0.132 260.2);
Tailwind
colors: {
  custom: {
    50: '#8aa1db',
    500: '#4d7ccb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ccb;
$custom-light: #8aa1db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ccb",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 217.619,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.13202,
    "h": 260.2
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#4D7CCB
secondary
#D4C19F
accent
#A74ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4D7CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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