#4746C5#4746C5

#4746C5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.192 H 276.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4746C5
RGBrgb(71, 70, 197)
HSLhsl(240, 52%, 52%)
HSVhsv(240, 64%, 77%)
CMYKcmyk(64%, 64.5%, 0%, 22.7%)
CIE-LABlab(37.39, 39.25, -66.17)
CIE-LCHlch(37.39, 76.94, 300.68°)
OKLaboklab(47.65% 0.0221 -0.1908)
OKLCHoklch(47.65% 0.192 276.6)
XYZxyz(14.8635, 9.7499, 53.9111)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4746C5 #C4C546
analogous
#4685C5 #4746C5 #8646C5
triadic
#4746C5 #C54746 #46C547
tetradic
#4746C5 #C54685 #C4C546 #46C586
square
#4746C5 #C54685 #C4C546 #46C586
split-complementary
#4746C5 #C58646 #85C546
monochromatic
#23236E #32319D #4746C5 #7575D4 #A4A3E2

Accessibility & contrast

On white

7.12
#4746C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4746C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4746C5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4746C5#FFFFFF#000000##FFFFFF
##4746C51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4746c5;
/* rgb */ color: rgb(71, 70, 197);
/* oklch */ color: oklch(47.6% 0.192 276.6);
Tailwind
colors: {
  custom: {
    50: '#897ad8',
    500: '#4746c5',
    950: '#000000',
  },
}
SCSS
$custom: #4746c5;
$custom-light: #897ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4746c5",
  "rgb": {
    "r": 71,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 240.472,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.19203,
    "h": 276.6
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#4746C5
secondary
#CFCF98
accent
#DC4CDB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4746C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4746C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva