#3847B0#3847B0

#3847B0 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.167 H 271.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3847B0
RGBrgb(56, 71, 176)
HSLhsl(233, 52%, 45%)
HSVhsv(233, 68%, 69%)
CMYKcmyk(68.2%, 59.7%, 0%, 31%)
CIE-LABlab(34.96, 29.18, -57.82)
CIE-LCHlch(34.96, 64.76, 296.78°)
OKLaboklab(45.08% 0.0051 -0.1666)
OKLCHoklch(45.08% 0.167 271.8)
XYZxyz(11.7180, 8.4807, 42.0853)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847B0 #B0A138
analogous
#3883B0 #3847B0 #6538B0
triadic
#3847B0 #B03847 #47B038
tetradic
#3847B0 #B03883 #B0A138 #38B065
square
#3847B0 #B03883 #B0A138 #38B065
split-complementary
#3847B0 #B06538 #83B038
monochromatic
#1A2253 #293482 #3847B0 #5B69CB #8993D9

Accessibility & contrast

On white

7.79
#3847B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3847B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847B0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847B0#FFFFFF#000000##FFFFFF
##3847B01.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3847b0;
/* rgb */ color: rgb(56, 71, 176);
/* oklch */ color: oklch(45.1% 0.167 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ac8',
    500: '#3847b0',
    950: '#000000',
  },
}
SCSS
$custom: #3847b0;
$custom-light: #7d7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3847b0",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 232.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.16669,
    "h": 271.8
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#3847B0
secondary
#C4BB80
accent
#C94DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3847B0

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

Preview Lab → · Contrast checker → · Palette generator →

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