#3847C8#3847C8

#3847C8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.198 H 271.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3847C8
RGBrgb(56, 71, 200)
HSLhsl(234, 57%, 50%)
HSVhsv(234, 72%, 78%)
CMYKcmyk(72%, 64.5%, 0%, 21.6%)
CIE-LABlab(36.96, 37.70, -68.66)
CIE-LCHlch(36.96, 78.33, 298.77°)
OKLaboklab(47.17% 0.0043 -0.1984)
OKLCHoklch(47.17% 0.198 271.2)
XYZxyz(14.3059, 9.5159, 55.7152)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847C8 #C8B938
analogous
#388FC8 #3847C8 #7138C8
triadic
#3847C8 #C83847 #47C838
tetradic
#3847C8 #C8388F #C8B938 #38C871
square
#3847C8 #C8388F #C8B938 #38C871
split-complementary
#3847C8 #C87138 #8FC838
monochromatic
#1D2569 #2A3699 #3847C8 #6873D5 #98A0E3

Accessibility & contrast

On white

7.23
#3847C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3847C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847C8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847C8#FFFFFF#000000##FFFFFF
##3847C81.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3847c8;
/* rgb */ color: rgb(56, 71, 200);
/* oklch */ color: oklch(47.2% 0.198 271.2);
Tailwind
colors: {
  custom: {
    50: '#837ada',
    500: '#3847c8',
    950: '#000000',
  },
}
SCSS
$custom: #3847c8;
$custom-light: #837ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3847c8",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 233.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.19847,
    "h": 271.2
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#3847C8
secondary
#CEC78E
accent
#D048E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3847C8

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

Preview Lab → · Contrast checker → · Palette generator →

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