#3852AD#3852AD

#3852AD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.149 H 268.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3852AD
RGBrgb(56, 82, 173)
HSLhsl(227, 51%, 45%)
HSVhsv(227, 68%, 68%)
CMYKcmyk(67.6%, 52.6%, 0%, 32.2%)
CIE-LABlab(37.65, 20.90, -51.69)
CIE-LCHlch(37.65, 55.75, 292.02°)
OKLaboklab(47.02% -0.0046 -0.1484)
OKLCHoklch(47.02% 0.149 268.2)
XYZxyz(12.1884, 9.8913, 40.7939)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852AD #AD9338
analogous
#388CAD #3852AD #5938AD
triadic
#3852AD #AD3852 #52AD38
tetradic
#3852AD #AD388C #AD9338 #38AD59
square
#3852AD #AD388C #AD9338 #38AD59
split-complementary
#3852AD #AD5938 #8CAD38
monochromatic
#1A2651 #293C7F #3852AD #5972C9 #8799D8

Accessibility & contrast

On white

7.05
#3852AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3852AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3852AD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3852AD#FFFFFF#000000##FFFFFF
##3852AD1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185EB0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3852ad;
/* rgb */ color: rgb(56, 82, 173);
/* oklch */ color: oklch(47.0% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#7c82c6',
    500: '#3852ad',
    950: '#000000',
  },
}
SCSS
$custom: #3852ad;
$custom-light: #7c82c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3852ad",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 226.667,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.14851,
    "h": 268.2
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#3852AD
secondary
#C2B37F
accent
#BB4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3852AD

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

Preview Lab → · Contrast checker → · Palette generator →

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