#4758CD#4758CD

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

Color values

HEX#4758CD
RGBrgb(71, 88, 205)
HSLhsl(232, 57%, 54%)
HSVhsv(232, 65%, 80%)
CMYKcmyk(65.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.35, 30.79, -62.73)
CIE-LCHlch(42.35, 69.88, 296.15°)
OKLaboklab(51.5% 0.0069 -0.1805)
OKLCHoklch(51.5% 0.181 272.2)
XYZxyz(17.1040, 12.7253, 59.3006)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758CD #CDBC47
analogous
#479BCD #4758CD #7947CD
triadic
#4758CD #CD4758 #58CD47
tetradic
#4758CD #CD479B #CDBC47 #47CD79
square
#4758CD #CD479B #CDBC47 #47CD79
split-complementary
#4758CD #CD7947 #9BCD47
monochromatic
#212C79 #2E3EA9 #4758CD #7784DA #A7AFE7

Accessibility & contrast

On white

5.92
#4758CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4758CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758CD#FFFFFF#000000##FFFFFF
##4758CD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4758cd;
/* rgb */ color: rgb(71, 88, 205);
/* oklch */ color: oklch(51.5% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#8987dd',
    500: '#4758cd',
    950: '#000000',
  },
}
SCSS
$custom: #4758cd;
$custom-light: #8987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4758cd",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 232.388,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.18064,
    "h": 272.2
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4758CD

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

Preview Lab → · Contrast checker → · Palette generator →

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