#3A47CB#3A47CB

#3A47CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.5% C 0.202 H 271.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#3A47CB
RGBrgb(58, 71, 203)
HSLhsl(235, 58%, 51%)
HSVhsv(235, 71%, 80%)
CMYKcmyk(71.4%, 65%, 0%, 20.4%)
CIE-LABlab(37.33, 38.97, -69.79)
CIE-LCHlch(37.33, 79.94, 299.18°)
OKLaboklab(47.55% 0.0062 -0.2017)
OKLCHoklch(47.55% 0.202 271.7)
XYZxyz(14.7740, 9.7163, 57.5852)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47CB #CBBE3A
analogous
#3A8FCB #3A47CB #753ACB
triadic
#3A47CB #CB3A47 #47CB3A
tetradic
#3A47CB #CB3A8F #CBBE3A #3ACB75
square
#3A47CB #CB3A8F #CBBE3A #3ACB75
split-complementary
#3A47CB #CB753A #8FCB3A
monochromatic
#1D246E #2A349E #3A47CB #6A74D8 #9BA1E5

Accessibility & contrast

On white

7.13
#3A47CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A47CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47CB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47CB#FFFFFF#000000##FFFFFF
##3A47CB1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a47cb;
/* rgb */ color: rgb(58, 71, 203);
/* oklch */ color: oklch(47.5% 0.202 271.7);
Tailwind
colors: {
  custom: {
    50: '#847adc',
    500: '#3a47cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a47cb;
$custom-light: #847adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47cb",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 234.621,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.20179,
    "h": 271.7
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#3A47CB
secondary
#D0CB90
accent
#D446E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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