#3A47CD#3A47CD

#3A47CD is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.7% C 0.204 H 271.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3A47CD
RGBrgb(58, 71, 205)
HSLhsl(235, 60%, 52%)
HSVhsv(235, 72%, 80%)
CMYKcmyk(71.7%, 65.4%, 0%, 19.6%)
CIE-LABlab(37.50, 39.67, -70.67)
CIE-LCHlch(37.50, 81.04, 299.31°)
OKLaboklab(47.73% 0.006 -0.2042)
OKLCHoklch(47.73% 0.204 271.7)
XYZxyz(15.0139, 9.8123, 58.8485)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47CD #CDC03A
analogous
#3A91CD #3A47CD #773ACD
triadic
#3A47CD #CD3A47 #47CD3A
tetradic
#3A47CD #CD3A91 #CDC03A #3ACD77
square
#3A47CD #CD3A91 #CDC03A #3ACD77
split-complementary
#3A47CD #CD773A #91CD3A
monochromatic
#1C2470 #2933A1 #3A47CD #6B75D9 #9CA2E6

Accessibility & contrast

On white

7.09
#3A47CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3A47CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47CD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47CD#FFFFFF#000000##FFFFFF
##3A47CD1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a47cd;
/* rgb */ color: rgb(58, 71, 205);
/* oklch */ color: oklch(47.7% 0.204 271.7);
Tailwind
colors: {
  custom: {
    50: '#847add',
    500: '#3a47cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a47cd;
$custom-light: #847add;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47cd",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 234.694,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.20434,
    "h": 271.7
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#3A47CD
secondary
#D2CC91
accent
#D545E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3A47CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3A47CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva