#4D71CA#4D71CA

#4D71CA is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.144 H 265.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D71CA
RGBrgb(77, 113, 202)
HSLhsl(223, 54%, 55%)
HSVhsv(223, 62%, 79%)
CMYKcmyk(61.9%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.07, 15.04, -50.16)
CIE-LCHlch(49.07, 52.37, 286.69°)
OKLaboklab(56.61% -0.0113 -0.1431)
OKLCHoklch(56.61% 0.144 265.5)
XYZxyz(19.6227, 17.6506, 58.2385)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71CA #CAA64D
analogous
#4DB0CA #4D71CA #684DCA
triadic
#4D71CA #CA4D71 #71CA4D
tetradic
#4D71CA #CA4DB0 #CAA64D #4DCA68
square
#4D71CA #CA4DB0 #CAA64D #4DCA68
split-complementary
#4D71CA #CA684D #B0CA4D
monochromatic
#243C79 #3254A8 #4D71CA #7C97D8 #ABBCE6

Accessibility & contrast

On white

4.64
#4D71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4D71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71CA#FFFFFF#000000##FFFFFF
##4D71CA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d71ca;
/* rgb */ color: rgb(77, 113, 202);
/* oklch */ color: oklch(56.6% 0.144 265.5);
Tailwind
colors: {
  custom: {
    50: '#8a99db',
    500: '#4d71ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d71ca;
$custom-light: #8a99db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71ca",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 222.72,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.14353,
    "h": 265.5
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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