#4757CC#4757CC

#4757CC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.181 H 272.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4757CC
RGBrgb(71, 87, 204)
HSLhsl(233, 57%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(65.2%, 57.4%, 0%, 20%)
CIE-LABlab(42.02, 31.08, -62.68)
CIE-LCHlch(42.02, 69.96, 296.37°)
OKLaboklab(51.23% 0.0077 -0.1804)
OKLCHoklch(51.23% 0.181 272.4)
XYZxyz(16.9022, 12.5141, 58.6398)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757CC #CCBC47
analogous
#479ACC #4757CC #7A47CC
triadic
#4757CC #CC4757 #57CC47
tetradic
#4757CC #CC479A #CCBC47 #47CC7A
square
#4757CC #CC479A #CCBC47 #47CC7A
split-complementary
#4757CC #CC7A47 #9ACC47
monochromatic
#212C77 #2E3DA7 #4757CC #7783D9 #A7AFE7

Accessibility & contrast

On white

5.99
#4757CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4757CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757CC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757CC#FFFFFF#000000##FFFFFF
##4757CC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4757cc;
/* rgb */ color: rgb(71, 87, 204);
/* oklch */ color: oklch(51.2% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#8986dc',
    500: '#4757cc',
    950: '#000000',
  },
}
SCSS
$custom: #4757cc;
$custom-light: #8986dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4757cc",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 232.782,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.18054,
    "h": 272.4
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#4757CC
secondary
#D4CD9B
accent
#CE48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4757CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva