#4745CA#4745CA

#4745CA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.200 H 276.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4745CA
RGBrgb(71, 69, 202)
HSLhsl(241, 56%, 53%)
HSVhsv(241, 66%, 79%)
CMYKcmyk(64.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(37.59, 41.50, -68.76)
CIE-LCHlch(37.59, 80.31, 301.12°)
OKLaboklab(47.92% 0.0224 -0.1983)
OKLCHoklch(47.92% 0.2 276.4)
XYZxyz(15.3838, 9.8588, 56.9579)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4745CA #C8CA45
analogous
#4585CA #4745CA #8945CA
triadic
#4745CA #CA4745 #45CA47
tetradic
#4745CA #CA4585 #C8CA45 #45CA89
square
#4745CA #CA4585 #C8CA45 #45CA89
split-complementary
#4745CA #CA8945 #85CA45
monochromatic
#222174 #302FA3 #4745CA #7675D8 #A5A4E5

Accessibility & contrast

On white

7.07
#4745CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4745CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4745CA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4745CA#FFFFFF#000000##FFFFFF
##4745CA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4745ca;
/* rgb */ color: rgb(71, 69, 202);
/* oklch */ color: oklch(47.9% 0.200 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a79db',
    500: '#4745ca',
    950: '#000000',
  },
}
SCSS
$custom: #4745ca;
$custom-light: #8a79db;
$custom-dark: #000000;
JSON
{
  "hex": "#4745ca",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 240.902,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.1996,
    "h": 276.4
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#4745CA
secondary
#D1D299
accent
#DF49DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4745CA

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

Preview Lab → · Contrast checker → · Palette generator →

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