#4757CE#4757CE

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

Color values

HEX#4757CE
RGBrgb(71, 87, 206)
HSLhsl(233, 58%, 54%)
HSVhsv(233, 66%, 81%)
CMYKcmyk(65.5%, 57.8%, 0%, 19.2%)
CIE-LABlab(42.17, 31.77, -63.59)
CIE-LCHlch(42.17, 71.09, 296.54°)
OKLaboklab(51.39% 0.0077 -0.1831)
OKLCHoklch(51.39% 0.183 272.4)
XYZxyz(17.1436, 12.6107, 59.9112)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757CE #CEBE47
analogous
#479BCE #4757CE #7B47CE
triadic
#4757CE #CE4757 #57CE47
tetradic
#4757CE #CE479B #CEBE47 #47CE7B
square
#4757CE #CE479B #CEBE47 #47CE7B
split-complementary
#4757CE #CE7B47 #9BCE47
monochromatic
#212B7A #2D3CAA #4757CE #7783DB #A8AFE8

Accessibility & contrast

On white

5.96
#4757CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4757CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757CE#FFFFFF#000000##FFFFFF
##4757CE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4757ce;
/* rgb */ color: rgb(71, 87, 206);
/* oklch */ color: oklch(51.4% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#8986de',
    500: '#4757ce',
    950: '#000000',
  },
}
SCSS
$custom: #4757ce;
$custom-light: #8986de;
$custom-dark: #000000;
JSON
{
  "hex": "#4757ce",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 232.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.18322,
    "h": 272.4
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#4757CE
secondary
#D5CE9C
accent
#CF47E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757CE

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

Preview Lab → · Contrast checker → · Palette generator →

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