#4758BC#4758BC

#4758BC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.157 H 272.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4758BC
RGBrgb(71, 88, 188)
HSLhsl(231, 47%, 51%)
HSVhsv(231, 62%, 74%)
CMYKcmyk(62.2%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.13, 24.90, -54.83)
CIE-LCHlch(41.13, 60.23, 294.43°)
OKLaboklab(50.21% 0.0061 -0.1573)
OKLCHoklch(50.21% 0.157 272.2)
XYZxyz(15.1623, 11.9486, 49.0745)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758BC #BCAB47
analogous
#4792BC #4758BC #7047BC
triadic
#4758BC #BC4758 #58BC47
tetradic
#4758BC #BC4792 #BCAB47 #47BC70
square
#4758BC #BC4792 #BCAB47 #47BC70
split-complementary
#4758BC #BC7047 #92BC47
monochromatic
#242E64 #354291 #4758BC #7481CC #A1A9DD

Accessibility & contrast

On white

6.19
#4758BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4758BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758BC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758BC#FFFFFF#000000##FFFFFF
##4758BC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4758bc;
/* rgb */ color: rgb(71, 88, 188);
/* oklch */ color: oklch(50.2% 0.157 272.2);
Tailwind
colors: {
  custom: {
    50: '#8686d1',
    500: '#4758bc',
    950: '#000000',
  },
}
SCSS
$custom: #4758bc;
$custom-light: #8686d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4758bc",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 231.282,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.1574,
    "h": 272.2
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#4758BC
secondary
#C9C295
accent
#C352D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4758BC

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

Preview Lab → · Contrast checker → · Palette generator →

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