#3852BD#3852BD

#3852BD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.171 H 268.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3852BD
RGBrgb(56, 82, 189)
HSLhsl(228, 54%, 48%)
HSVhsv(228, 70%, 74%)
CMYKcmyk(70.4%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.81, 26.74, -59.23)
CIE-LCHlch(38.81, 64.98, 294.30°)
OKLaboklab(48.26% -0.0036 -0.1706)
OKLCHoklch(48.26% 0.171 268.8)
XYZxyz(13.8303, 10.5481, 49.4414)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852BD #BDA338
analogous
#3894BD #3852BD #6138BD
triadic
#3852BD #BD3852 #52BD38
tetradic
#3852BD #BD3894 #BDA338 #38BD61
square
#3852BD #BD3894 #BDA338 #38BD61
split-complementary
#3852BD #BD6138 #94BD38
monochromatic
#1C295F #2A3E8E #3852BD #6277D0 #91A0DE

Accessibility & contrast

On white

6.75
#3852BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3852BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3852BD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3852BD#FFFFFF#000000##FFFFFF
##3852BD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3852bd;
/* rgb */ color: rgb(56, 82, 189);
/* oklch */ color: oklch(48.3% 0.171 268.8);
Tailwind
colors: {
  custom: {
    50: '#7f82d2',
    500: '#3852bd',
    950: '#000000',
  },
}
SCSS
$custom: #3852bd;
$custom-light: #7f82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3852bd",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 228.271,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.17066,
    "h": 268.8
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#3852BD
secondary
#C9BC87
accent
#C14ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3852BD

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

Preview Lab → · Contrast checker → · Palette generator →

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