#4758D2#4758D2

#4758D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.187 H 272.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4758D2
RGBrgb(71, 88, 210)
HSLhsl(233, 61%, 55%)
HSVhsv(233, 66%, 82%)
CMYKcmyk(66.2%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.72, 32.52, -65.00)
CIE-LCHlch(42.72, 72.68, 296.58°)
OKLaboklab(51.89% 0.0069 -0.1872)
OKLCHoklch(51.89% 0.187 272.1)
XYZxyz(17.7172, 12.9706, 62.5302)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758D2 #D2C147
analogous
#479DD2 #4758D2 #7C47D2
triadic
#4758D2 #D24758 #58D247
tetradic
#4758D2 #D2479D #D2C147 #47D27C
square
#4758D2 #D2479D #D2C147 #47D27C
split-complementary
#4758D2 #D27C47 #9DD247
monochromatic
#1F2B7F #2B3CB1 #4758D2 #7885DE #A9B1EA

Accessibility & contrast

On white

5.84
#4758D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4758D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758D2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758D2#FFFFFF#000000##FFFFFF
##4758D21.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4758d2;
/* rgb */ color: rgb(71, 88, 210);
/* oklch */ color: oklch(51.9% 0.187 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a87e1',
    500: '#4758d2',
    950: '#000000',
  },
}
SCSS
$custom: #4758d2;
$custom-light: #8a87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4758d2",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 232.662,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.18732,
    "h": 272.1
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#4758D2
secondary
#D8D09D
accent
#D044E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4758D2

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

Preview Lab → · Contrast checker → · Palette generator →

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