#3852BE#3852BE

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

Color values

HEX#3852BE
RGBrgb(56, 82, 190)
HSLhsl(228, 54%, 48%)
HSVhsv(228, 71%, 75%)
CMYKcmyk(70.5%, 56.8%, 0%, 25.5%)
CIE-LABlab(38.88, 27.11, -59.69)
CIE-LCHlch(38.88, 65.56, 294.42°)
OKLaboklab(48.34% -0.0036 -0.172)
OKLCHoklch(48.34% 0.172 268.8)
XYZxyz(13.9392, 10.5916, 50.0150)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852BE #BEA438
analogous
#3895BE #3852BE #6138BE
triadic
#3852BE #BE3852 #52BE38
tetradic
#3852BE #BE3895 #BEA438 #38BE61
square
#3852BE #BE3895 #BEA438 #38BE61
split-complementary
#3852BE #BE6138 #95BE38
monochromatic
#1C295F #2A3E8F #3852BE #6278D1 #92A1DF

Accessibility & contrast

On white

6.73
#3852BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3852BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3852BE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3852BE#FFFFFF#000000##FFFFFF
##3852BE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3852be;
/* rgb */ color: rgb(56, 82, 190);
/* oklch */ color: oklch(48.3% 0.172 268.8);
Tailwind
colors: {
  custom: {
    50: '#8082d2',
    500: '#3852be',
    950: '#000000',
  },
}
SCSS
$custom: #3852be;
$custom-light: #8082d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3852be",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 228.358,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.17202,
    "h": 268.8
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3852BE

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

Preview Lab → · Contrast checker → · Palette generator →

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