#4758D3#4758D3

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

Color values

HEX#4758D3
RGBrgb(71, 88, 211)
HSLhsl(233, 61%, 55%)
HSVhsv(233, 66%, 83%)
CMYKcmyk(66.4%, 58.3%, 0%, 17.3%)
CIE-LABlab(42.79, 32.87, -65.45)
CIE-LCHlch(42.79, 73.24, 296.66°)
OKLaboklab(51.97% 0.0069 -0.1885)
OKLCHoklch(51.97% 0.189 272.1)
XYZxyz(17.8422, 13.0206, 63.1883)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758D3 #D3C247
analogous
#479ED3 #4758D3 #7C47D3
triadic
#4758D3 #D34758 #58D347
tetradic
#4758D3 #D3479E #D3C247 #47D37C
square
#4758D3 #D3479E #D3C247 #47D37C
split-complementary
#4758D3 #D37C47 #9ED347
monochromatic
#1F2B81 #2B3BB2 #4758D3 #7885DF #AAB2EB

Accessibility & contrast

On white

5.83
#4758D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4758D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758D3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758D3#FFFFFF#000000##FFFFFF
##4758D31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4758d3;
/* rgb */ color: rgb(71, 88, 211);
/* oklch */ color: oklch(52.0% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a87e1',
    500: '#4758d3',
    950: '#000000',
  },
}
SCSS
$custom: #4758d3;
$custom-light: #8a87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4758d3",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 232.714,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.18865,
    "h": 272.1
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#4758D3
secondary
#D8D19E
accent
#D143E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4758D3

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

Preview Lab → · Contrast checker → · Palette generator →

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