#3847C9#3847C9

#3847C9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.200 H 271.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3847C9
RGBrgb(56, 71, 201)
HSLhsl(234, 57%, 50%)
HSVhsv(234, 72%, 79%)
CMYKcmyk(72.1%, 64.7%, 0%, 21.2%)
CIE-LABlab(37.05, 38.05, -69.10)
CIE-LCHlch(37.05, 78.88, 298.84°)
OKLaboklab(47.26% 0.0042 -0.1997)
OKLCHoklch(47.26% 0.2 271.2)
XYZxyz(14.4232, 9.5628, 56.3327)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847C9 #C9BA38
analogous
#388FC9 #3847C9 #7138C9
triadic
#3847C9 #C93847 #47C938
tetradic
#3847C9 #C9388F #C9BA38 #38C971
square
#3847C9 #C9388F #C9BA38 #38C971
split-complementary
#3847C9 #C97138 #8FC938
monochromatic
#1D256A #2A359A #3847C9 #6874D6 #98A0E3

Accessibility & contrast

On white

7.21
#3847C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3847C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847C9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847C9#FFFFFF#000000##FFFFFF
##3847C91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3847c9;
/* rgb */ color: rgb(56, 71, 201);
/* oklch */ color: oklch(47.3% 0.200 271.2);
Tailwind
colors: {
  custom: {
    50: '#837ada',
    500: '#3847c9',
    950: '#000000',
  },
}
SCSS
$custom: #3847c9;
$custom-light: #837ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3847c9",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 233.793,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47257,
    "c": 0.19975,
    "h": 271.2
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3847C9

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

Preview Lab → · Contrast checker → · Palette generator →

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