#4751CE#4751CE

#4751CE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.191 H 273.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4751CE
RGBrgb(71, 81, 206)
HSLhsl(236, 58%, 54%)
HSVhsv(236, 66%, 81%)
CMYKcmyk(65.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(40.70, 35.52, -65.98)
CIE-LCHlch(40.70, 74.94, 298.29°)
OKLaboklab(50.3% 0.0127 -0.1901)
OKLCHoklch(50.3% 0.191 273.8)
XYZxyz(16.6778, 11.6792, 59.7560)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751CE #CEC447
analogous
#4794CE #4751CE #8147CE
triadic
#4751CE #CE4751 #51CE47
tetradic
#4751CE #CE4794 #CEC447 #47CE81
square
#4751CE #CE4794 #CEC447 #47CE81
split-complementary
#4751CE #CE8147 #94CE47
monochromatic
#21277A #2D37AA #4751CE #777FDB #A8ACE8

Accessibility & contrast

On white

6.29
#4751CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4751CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751CE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751CE#FFFFFF#000000##FFFFFF
##4751CE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4751ce;
/* rgb */ color: rgb(71, 81, 206);
/* oklch */ color: oklch(50.3% 0.191 273.8);
Tailwind
colors: {
  custom: {
    50: '#8982de',
    500: '#4751ce',
    950: '#000000',
  },
}
SCSS
$custom: #4751ce;
$custom-light: #8982de;
$custom-dark: #000000;
JSON
{
  "hex": "#4751ce",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 235.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.19056,
    "h": 273.8
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#4751CE
secondary
#D5D19C
accent
#D647E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4751CE

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

Preview Lab → · Contrast checker → · Palette generator →

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