#3847CA#3847CA

#3847CA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.3% C 0.201 H 271.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#3847CA
RGBrgb(56, 71, 202)
HSLhsl(234, 58%, 51%)
HSVhsv(234, 72%, 79%)
CMYKcmyk(72.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(37.13, 38.40, -69.54)
CIE-LCHlch(37.13, 79.43, 298.91°)
OKLaboklab(47.35% 0.0042 -0.201)
OKLCHoklch(47.35% 0.201 271.2)
XYZxyz(14.5412, 9.6100, 56.9542)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847CA #CABB38
analogous
#3890CA #3847CA #7238CA
triadic
#3847CA #CA3847 #47CA38
tetradic
#3847CA #CA3890 #CABB38 #38CA72
square
#3847CA #CA3890 #CABB38 #38CA72
split-complementary
#3847CA #CA7238 #90CA38
monochromatic
#1D256B #29359B #3847CA #6874D7 #99A0E4

Accessibility & contrast

On white

7.19
#3847CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3847CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847CA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847CA#FFFFFF#000000##FFFFFF
##3847CA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3847ca;
/* rgb */ color: rgb(56, 71, 202);
/* oklch */ color: oklch(47.3% 0.201 271.2);
Tailwind
colors: {
  custom: {
    50: '#837adb',
    500: '#3847ca',
    950: '#000000',
  },
}
SCSS
$custom: #3847ca;
$custom-light: #837adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3847ca",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 233.836,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.20103,
    "h": 271.2
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#3847CA
secondary
#CFC98E
accent
#D147E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3847CA

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

Preview Lab → · Contrast checker → · Palette generator →

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