#3852BF#3852BF

#3852BF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.173 H 268.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3852BF
RGBrgb(56, 82, 191)
HSLhsl(228, 55%, 48%)
HSVhsv(228, 71%, 75%)
CMYKcmyk(70.7%, 57.1%, 0%, 25.1%)
CIE-LABlab(38.96, 27.47, -60.15)
CIE-LCHlch(38.96, 66.13, 294.55°)
OKLaboklab(48.42% -0.0035 -0.1733)
OKLCHoklch(48.42% 0.173 268.8)
XYZxyz(14.0489, 10.6355, 50.5926)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852BF #BFA538
analogous
#3895BF #3852BF #6138BF
triadic
#3852BF #BF3852 #52BF38
tetradic
#3852BF #BF3895 #BFA538 #38BF61
square
#3852BF #BF3895 #BFA538 #38BF61
split-complementary
#3852BF #BF6138 #95BF38
monochromatic
#1C2960 #2A3E90 #3852BF #6378D1 #92A1DF

Accessibility & contrast

On white

6.71
#3852BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3852BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3852BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3852BF#FFFFFF#000000##FFFFFF
##3852BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3852bf;
/* rgb */ color: rgb(56, 82, 191);
/* oklch */ color: oklch(48.4% 0.173 268.8);
Tailwind
colors: {
  custom: {
    50: '#8082d3',
    500: '#3852bf',
    950: '#000000',
  },
}
SCSS
$custom: #3852bf;
$custom-light: #8082d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3852bf",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 228.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.17338,
    "h": 268.8
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#3852BF
secondary
#CABE89
accent
#C14ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3852BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3852BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva