#4759BA#4759BA

#4759BA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.153 H 271.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4759BA
RGBrgb(71, 89, 186)
HSLhsl(231, 45%, 50%)
HSVhsv(231, 62%, 73%)
CMYKcmyk(61.8%, 52.2%, 0%, 27.1%)
CIE-LABlab(41.26, 23.57, -53.46)
CIE-LCHlch(41.26, 58.43, 293.79°)
OKLaboklab(50.26% 0.005 -0.1532)
OKLCHoklch(50.26% 0.153 271.9)
XYZxyz(15.0309, 12.0283, 47.9744)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4759BA #BAA847
analogous
#4792BA #4759BA #6E47BA
triadic
#4759BA #BA4759 #59BA47
tetradic
#4759BA #BA4792 #BAA847 #47BA6E
square
#4759BA #BA4792 #BAA847 #47BA6E
split-complementary
#4759BA #BA6E47 #92BA47
monochromatic
#252E62 #35438E #4759BA #7481CB #A0A9DB

Accessibility & contrast

On white

6.17
#4759BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4759BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4759BA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4759BA#FFFFFF#000000##FFFFFF
##4759BA1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4759ba;
/* rgb */ color: rgb(71, 89, 186);
/* oklch */ color: oklch(50.3% 0.153 271.9);
Tailwind
colors: {
  custom: {
    50: '#8587cf',
    500: '#4759ba',
    950: '#000000',
  },
}
SCSS
$custom: #4759ba;
$custom-light: #8587cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4759ba",
  "rgb": {
    "r": 71,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 230.609,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.15331,
    "h": 271.9
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#4759BA
secondary
#C8C095
accent
#C153D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4759BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4759BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva