#4758D4#4758D4

#4758D4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.190 H 272.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4758D4
RGBrgb(71, 88, 212)
HSLhsl(233, 62%, 55%)
HSVhsv(233, 67%, 83%)
CMYKcmyk(66.5%, 58.5%, 0%, 16.9%)
CIE-LABlab(42.87, 33.21, -65.90)
CIE-LCHlch(42.87, 73.80, 296.75°)
OKLaboklab(52.05% 0.0069 -0.1898)
OKLCHoklch(52.05% 0.19 272.1)
XYZxyz(17.9679, 13.0709, 63.8506)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758D4 #D4C347
analogous
#479ED4 #4758D4 #7C47D4
triadic
#4758D4 #D44758 #58D447
tetradic
#4758D4 #D4479E #D4C347 #47D47C
square
#4758D4 #D4479E #D4C347 #47D47C
split-complementary
#4758D4 #D47C47 #9ED447
monochromatic
#1E2A82 #2A3BB4 #4758D4 #7985E0 #AAB2EB

Accessibility & contrast

On white

5.81
#4758D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4758D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758D4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758D4#FFFFFF#000000##FFFFFF
##4758D41.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4758d4;
/* rgb */ color: rgb(71, 88, 212);
/* oklch */ color: oklch(52.1% 0.190 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a87e2',
    500: '#4758d4',
    950: '#000000',
  },
}
SCSS
$custom: #4758d4;
$custom-light: #8a87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4758d4",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 232.766,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.18997,
    "h": 272.1
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#4758D4
secondary
#D9D29E
accent
#D243E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4758D4

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

Preview Lab → · Contrast checker → · Palette generator →

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