#4D71CB#4D71CB

#4D71CB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.145 H 265.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4D71CB
RGBrgb(77, 113, 203)
HSLhsl(223, 55%, 55%)
HSVhsv(223, 62%, 80%)
CMYKcmyk(62.1%, 44.3%, 0%, 20.4%)
CIE-LABlab(49.13, 15.38, -50.64)
CIE-LCHlch(49.13, 52.92, 286.90°)
OKLaboklab(56.68% -0.0111 -0.1445)
OKLCHoklch(56.68% 0.145 265.6)
XYZxyz(19.7415, 17.6981, 58.8641)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71CB #CBA74D
analogous
#4DB0CB #4D71CB #684DCB
triadic
#4D71CB #CB4D71 #71CB4D
tetradic
#4D71CB #CB4DB0 #CBA74D #4DCB68
square
#4D71CB #CB4DB0 #CBA74D #4DCB68
split-complementary
#4D71CB #CB684D #B0CB4D
monochromatic
#243C7A #3154A9 #4D71CB #7C97D9 #ACBDE7

Accessibility & contrast

On white

4.63
#4D71CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4D71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71CB#FFFFFF#000000##FFFFFF
##4D71CB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#336FC9
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d71cb;
/* rgb */ color: rgb(77, 113, 203);
/* oklch */ color: oklch(56.7% 0.145 265.6);
Tailwind
colors: {
  custom: {
    50: '#8a99db',
    500: '#4d71cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d71cb;
$custom-light: #8a99db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71cb",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 222.857,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.14492,
    "h": 265.6
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#4D71CB
secondary
#D4C59F
accent
#B44ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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