#4758CC#4758CC

#4758CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.179 H 272.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4758CC
RGBrgb(71, 88, 204)
HSLhsl(232, 57%, 54%)
HSVhsv(232, 65%, 80%)
CMYKcmyk(65.2%, 56.9%, 0%, 20%)
CIE-LABlab(42.27, 30.45, -62.27)
CIE-LCHlch(42.27, 69.32, 296.05°)
OKLaboklab(51.42% 0.0068 -0.1792)
OKLCHoklch(51.42% 0.179 272.2)
XYZxyz(16.9837, 12.6772, 58.6669)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758CC #CCBB47
analogous
#479BCC #4758CC #7947CC
triadic
#4758CC #CC4758 #58CC47
tetradic
#4758CC #CC479B #CCBB47 #47CC79
square
#4758CC #CC479B #CCBB47 #47CC79
split-complementary
#4758CC #CC7947 #9BCC47
monochromatic
#212C77 #2E3EA7 #4758CC #7783D9 #A7AFE7

Accessibility & contrast

On white

5.94
#4758CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4758CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758CC#FFFFFF#000000##FFFFFF
##4758CC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4758cc;
/* rgb */ color: rgb(71, 88, 204);
/* oklch */ color: oklch(51.4% 0.179 272.2);
Tailwind
colors: {
  custom: {
    50: '#8987dc',
    500: '#4758cc',
    950: '#000000',
  },
}
SCSS
$custom: #4758cc;
$custom-light: #8987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4758cc",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 232.331,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.1793,
    "h": 272.2
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4758CC

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

Preview Lab → · Contrast checker → · Palette generator →

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