#4745C2#4745C2

#4745C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.189 H 277.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4745C2
RGBrgb(71, 69, 194)
HSLhsl(241, 51%, 52%)
HSVhsv(241, 64%, 76%)
CMYKcmyk(63.4%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.91, 38.86, -65.20)
CIE-LCHlch(36.91, 75.91, 300.80°)
OKLaboklab(47.22% 0.0231 -0.1879)
OKLCHoklch(47.22% 0.189 277)
XYZxyz(14.4611, 9.4897, 52.0981)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4745C2 #C0C245
analogous
#4582C2 #4745C2 #8645C2
triadic
#4745C2 #C24745 #45C247
tetradic
#4745C2 #C24582 #C0C245 #45C286
square
#4745C2 #C24582 #C0C245 #45C286
split-complementary
#4745C2 #C28645 #82C245
monochromatic
#24236A #333298 #4745C2 #7573D1 #A2A1E0

Accessibility & contrast

On white

7.25
#4745C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4745C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4745C2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4745C2#FFFFFF#000000##FFFFFF
##4745C21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4745c2;
/* rgb */ color: rgb(71, 69, 194);
/* oklch */ color: oklch(47.2% 0.189 277.0);
Tailwind
colors: {
  custom: {
    50: '#8879d5',
    500: '#4745c2',
    950: '#000000',
  },
}
SCSS
$custom: #4745c2;
$custom-light: #8879d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4745c2",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 240.96,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.18935,
    "h": 277
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#4745C2
secondary
#CCCD96
accent
#DA4ED8
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4745C2

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

Preview Lab → · Contrast checker → · Palette generator →

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