#3852AA#3852AA

#3852AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.144 H 268.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3852AA
RGBrgb(56, 82, 170)
HSLhsl(226, 50%, 44%)
HSVhsv(226, 67%, 67%)
CMYKcmyk(67.1%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.44, 19.81, -50.24)
CIE-LCHlch(37.44, 54.01, 291.52°)
OKLaboklab(46.79% -0.0049 -0.1442)
OKLCHoklch(46.79% 0.144 268)
XYZxyz(11.9014, 9.7765, 39.2823)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852AA #AA9038
analogous
#388BAA #3852AA #5738AA
triadic
#3852AA #AA3852 #52AA38
tetradic
#3852AA #AA388B #AA9038 #38AA57
square
#3852AA #AA388B #AA9038 #38AA57
split-complementary
#3852AA #AA5738 #8BAA38
monochromatic
#1A264E #293C7C #3852AA #5771C8 #8598D7

Accessibility & contrast

On white

7.11
#3852AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3852AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3852AA#FFFFFF#000000##FFFFFF
##3852AA1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3852aa;
/* rgb */ color: rgb(56, 82, 170);
/* oklch */ color: oklch(46.8% 0.144 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b82c4',
    500: '#3852aa',
    950: '#000000',
  },
}
SCSS
$custom: #3852aa;
$custom-light: #7b82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3852aa",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 226.316,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.14427,
    "h": 268
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#3852AA
secondary
#C1B17D
accent
#BA4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3852AA

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

Preview Lab → · Contrast checker → · Palette generator →

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