#4757CD#4757CD

#4757CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.182 H 272.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4757CD
RGBrgb(71, 87, 205)
HSLhsl(233, 57%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(65.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.10, 31.42, -63.14)
CIE-LCHlch(42.10, 70.53, 296.46°)
OKLaboklab(51.31% 0.0077 -0.1817)
OKLCHoklch(51.31% 0.182 272.4)
XYZxyz(17.0225, 12.5622, 59.2735)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757CD #CDBD47
analogous
#479ACD #4757CD #7A47CD
triadic
#4757CD #CD4757 #57CD47
tetradic
#4757CD #CD479A #CDBD47 #47CD7A
square
#4757CD #CD479A #CDBD47 #47CD7A
split-complementary
#4757CD #CD7A47 #9ACD47
monochromatic
#212B79 #2E3DA9 #4757CD #7783DA #A7AFE7

Accessibility & contrast

On white

5.98
#4757CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4757CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757CD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757CD#FFFFFF#000000##FFFFFF
##4757CD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4757cd;
/* rgb */ color: rgb(71, 87, 205);
/* oklch */ color: oklch(51.3% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#8986dd',
    500: '#4757cd',
    950: '#000000',
  },
}
SCSS
$custom: #4757cd;
$custom-light: #8986dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4757cd",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 232.836,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.18188,
    "h": 272.4
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#4757CD
secondary
#D4CE9B
accent
#CE47E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757CD

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

Preview Lab → · Contrast checker → · Palette generator →

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