#3852BB#3852BB

#3852BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.168 H 268.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3852BB
RGBrgb(56, 82, 187)
HSLhsl(228, 54%, 48%)
HSVhsv(228, 70%, 73%)
CMYKcmyk(70.1%, 56.1%, 0%, 26.7%)
CIE-LABlab(38.66, 26.02, -58.30)
CIE-LCHlch(38.66, 63.84, 294.05°)
OKLaboklab(48.1% -0.0037 -0.1679)
OKLCHoklch(48.1% 0.168 268.7)
XYZxyz(13.6147, 10.4618, 48.3059)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852BB #BBA138
analogous
#3893BB #3852BB #6038BB
triadic
#3852BB #BB3852 #52BB38
tetradic
#3852BB #BB3893 #BBA138 #38BB60
square
#3852BB #BB3893 #BBA138 #38BB60
split-complementary
#3852BB #BB6038 #93BB38
monochromatic
#1C295D #2A3D8C #3852BB #6177D0 #909FDE

Accessibility & contrast

On white

6.79
#3852BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3852BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3852BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3852BB#FFFFFF#000000##FFFFFF
##3852BB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3852bb;
/* rgb */ color: rgb(56, 82, 187);
/* oklch */ color: oklch(48.1% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#7f82d0',
    500: '#3852bb',
    950: '#000000',
  },
}
SCSS
$custom: #3852bb;
$custom-light: #7f82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3852bb",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 228.092,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.16793,
    "h": 268.7
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#3852BB
secondary
#C8BB86
accent
#C04BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3852BB

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

Preview Lab → · Contrast checker → · Palette generator →

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