#4D7FCB#4D7FCB

#4D7FCB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.129 H 258.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D7FCB
RGBrgb(77, 127, 203)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 62%, 80%)
CMYKcmyk(62.1%, 37.4%, 0%, 20.4%)
CIE-LABlab(53.02, 6.79, -44.44)
CIE-LCHlch(53.02, 44.96, 278.69°)
OKLaboklab(59.69% -0.0256 -0.1262)
OKLCHoklch(59.69% 0.129 258.5)
XYZxyz(21.4256, 21.0664, 59.4254)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FCB #CB994D
analogous
#4DBECB #4D7FCB #5A4DCB
triadic
#4D7FCB #CB4D7F #7FCB4D
tetradic
#4D7FCB #CB4DBE #CB994D #4DCB5A
square
#4D7FCB #CB4DBE #CB994D #4DCB5A
split-complementary
#4D7FCB #CB5A4D #BECB4D
monochromatic
#24467A #3161A9 #4D7FCB #7CA1D9 #ACC3E7

Accessibility & contrast

On white

4.03
#4D7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4D7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FCB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FCB#FFFFFF#000000##000000
##4D7FCB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7fcb;
/* rgb */ color: rgb(77, 127, 203);
/* oklch */ color: oklch(59.7% 0.129 258.5);
Tailwind
colors: {
  custom: {
    50: '#8aa3db',
    500: '#4d7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fcb;
$custom-light: #8aa3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fcb",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 216.19,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.12872,
    "h": 258.5
  },
  "luminance": 0.21068
}

Semantic roles & 50–950 ramp

primary
#4D7FCB
secondary
#D4BF9F
accent
#A34ADE
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4D7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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