#4758BD#4758BD

#4758BD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.159 H 272.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4758BD
RGBrgb(71, 88, 189)
HSLhsl(231, 47%, 51%)
HSVhsv(231, 62%, 74%)
CMYKcmyk(62.4%, 53.4%, 0%, 25.9%)
CIE-LABlab(41.20, 25.25, -55.31)
CIE-LCHlch(41.20, 60.80, 294.54°)
OKLaboklab(50.28% 0.0062 -0.1587)
OKLCHoklch(50.28% 0.159 272.2)
XYZxyz(15.2705, 11.9919, 49.6442)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758BD #BDAC47
analogous
#4793BD #4758BD #7147BD
triadic
#4758BD #BD4758 #58BD47
tetradic
#4758BD #BD4793 #BDAC47 #47BD71
square
#4758BD #BD4793 #BDAC47 #47BD71
split-complementary
#4758BD #BD7147 #93BD47
monochromatic
#242E65 #344292 #4758BD #7481CD #A1AADD

Accessibility & contrast

On white

6.18
#4758BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4758BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758BD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758BD#FFFFFF#000000##FFFFFF
##4758BD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4758bd;
/* rgb */ color: rgb(71, 88, 189);
/* oklch */ color: oklch(50.3% 0.159 272.2);
Tailwind
colors: {
  custom: {
    50: '#8686d2',
    500: '#4758bd',
    950: '#000000',
  },
}
SCSS
$custom: #4758bd;
$custom-light: #8686d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4758bd",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 231.356,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.15879,
    "h": 272.2
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#4758BD
secondary
#CAC396
accent
#C451D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4758BD

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

Preview Lab → · Contrast checker → · Palette generator →

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