#4758CE#4758CE

#4758CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.182 H 272.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4758CE
RGBrgb(71, 88, 206)
HSLhsl(232, 58%, 54%)
HSVhsv(232, 66%, 81%)
CMYKcmyk(65.5%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.42, 31.14, -63.19)
CIE-LCHlch(42.42, 70.44, 296.23°)
OKLaboklab(51.58% 0.0069 -0.1819)
OKLCHoklch(51.58% 0.182 272.2)
XYZxyz(17.2251, 12.7737, 59.9384)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758CE #CEBD47
analogous
#479CCE #4758CE #7947CE
triadic
#4758CE #CE4758 #58CE47
tetradic
#4758CE #CE479C #CEBD47 #47CE79
square
#4758CE #CE479C #CEBD47 #47CE79
split-complementary
#4758CE #CE7947 #9CCE47
monochromatic
#212C7A #2D3DAA #4758CE #7784DB #A8B0E8

Accessibility & contrast

On white

5.91
#4758CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4758CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758CE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758CE#FFFFFF#000000##FFFFFF
##4758CE1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4758ce;
/* rgb */ color: rgb(71, 88, 206);
/* oklch */ color: oklch(51.6% 0.182 272.2);
Tailwind
colors: {
  custom: {
    50: '#8987de',
    500: '#4758ce',
    950: '#000000',
  },
}
SCSS
$custom: #4758ce;
$custom-light: #8987de;
$custom-dark: #000000;
JSON
{
  "hex": "#4758ce",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 232.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.18199,
    "h": 272.2
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4758CE

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

Preview Lab → · Contrast checker → · Palette generator →

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