#3852C3#3852C3

#3852C3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.179 H 268.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3852C3
RGBrgb(56, 82, 195)
HSLhsl(229, 55%, 49%)
HSVhsv(229, 71%, 76%)
CMYKcmyk(71.3%, 57.9%, 0%, 23.5%)
CIE-LABlab(39.27, 28.92, -61.98)
CIE-LCHlch(39.27, 68.40, 295.01°)
OKLaboklab(48.75% -0.0034 -0.1787)
OKLCHoklch(48.75% 0.179 268.9)
XYZxyz(14.4951, 10.8140, 52.9426)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852C3 #C3A938
analogous
#3898C3 #3852C3 #6438C3
triadic
#3852C3 #C33852 #52C338
tetradic
#3852C3 #C33898 #C3A938 #38C364
square
#3852C3 #C33898 #C3A938 #38C364
split-complementary
#3852C3 #C36438 #98C338
monochromatic
#1D2A64 #2A3E93 #3852C3 #657AD3 #95A3E1

Accessibility & contrast

On white

6.64
#3852C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3852C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3852C3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3852C3#FFFFFF#000000##FFFFFF
##3852C31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3852c3;
/* rgb */ color: rgb(56, 82, 195);
/* oklch */ color: oklch(48.7% 0.179 268.9);
Tailwind
colors: {
  custom: {
    50: '#8182d6',
    500: '#3852c3',
    950: '#000000',
  },
}
SCSS
$custom: #3852c3;
$custom-light: #8182d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3852c3",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 228.777,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.17876,
    "h": 268.9
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#3852C3
secondary
#CCC08B
accent
#C349DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3852C3

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

Preview Lab → · Contrast checker → · Palette generator →

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