#4759C2#4759C2

#4759C2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.164 H 271.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4759C2
RGBrgb(71, 89, 194)
HSLhsl(231, 50%, 52%)
HSVhsv(231, 63%, 76%)
CMYKcmyk(63.4%, 54.1%, 0%, 23.9%)
CIE-LABlab(41.81, 26.35, -57.24)
CIE-LCHlch(41.81, 63.01, 294.72°)
OKLaboklab(50.85% 0.0056 -0.1643)
OKLCHoklch(50.85% 0.164 271.9)
XYZxyz(15.9053, 12.3780, 52.5795)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4759C2 #C2B047
analogous
#4796C2 #4759C2 #7347C2
triadic
#4759C2 #C24759 #59C247
tetradic
#4759C2 #C24796 #C2B047 #47C273
square
#4759C2 #C24796 #C2B047 #47C273
split-complementary
#4759C2 #C27347 #96C247
monochromatic
#242E6B #334299 #4759C2 #7582D1 #A3ACE0

Accessibility & contrast

On white

6.04
#4759C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4759C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4759C2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4759C2#FFFFFF#000000##FFFFFF
##4759C21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E68C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4759c2;
/* rgb */ color: rgb(71, 89, 194);
/* oklch */ color: oklch(50.8% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#8787d5',
    500: '#4759c2',
    950: '#000000',
  },
}
SCSS
$custom: #4759c2;
$custom-light: #8787d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4759c2",
  "rgb": {
    "r": 71,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 231.22,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.16443,
    "h": 271.9
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#4759C2
secondary
#CDC597
accent
#C54EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4759C2

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

Preview Lab → · Contrast checker → · Palette generator →

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