#3847CD#3847CD

#3847CD is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.6% C 0.205 H 271.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3847CD
RGBrgb(56, 71, 205)
HSLhsl(234, 60%, 51%)
HSVhsv(234, 73%, 80%)
CMYKcmyk(72.7%, 65.4%, 0%, 19.6%)
CIE-LABlab(37.40, 39.44, -70.85)
CIE-LCHlch(37.40, 81.08, 299.11°)
OKLaboklab(47.62% 0.004 -0.2048)
OKLCHoklch(47.62% 0.205 271.1)
XYZxyz(14.8998, 9.7535, 58.8431)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847CD #CDBE38
analogous
#3891CD #3847CD #7338CD
triadic
#3847CD #CD3847 #47CD38
tetradic
#3847CD #CD3891 #CDBE38 #38CD73
square
#3847CD #CD3891 #CDBE38 #38CD73
split-complementary
#3847CD #CD7338 #91CD38
monochromatic
#1C246F #2834A0 #3847CD #6974D9 #9AA1E6

Accessibility & contrast

On white

7.12
#3847CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3847CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847CD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847CD#FFFFFF#000000##FFFFFF
##3847CD1.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)
#005FD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3847cd;
/* rgb */ color: rgb(56, 71, 205);
/* oklch */ color: oklch(47.6% 0.205 271.1);
Tailwind
colors: {
  custom: {
    50: '#847add',
    500: '#3847cd',
    950: '#000000',
  },
}
SCSS
$custom: #3847cd;
$custom-light: #847add;
$custom-dark: #000000;
JSON
{
  "hex": "#3847cd",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 233.96,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.20486,
    "h": 271.1
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#3847CD
secondary
#D1CB8F
accent
#D345E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3847CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3847CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva