#3852AE#3852AE

#3852AE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.150 H 268.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3852AE
RGBrgb(56, 82, 174)
HSLhsl(227, 51%, 45%)
HSVhsv(227, 68%, 68%)
CMYKcmyk(67.8%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.72, 21.27, -52.17)
CIE-LCHlch(37.72, 56.34, 292.18°)
OKLaboklab(47.09% -0.0046 -0.1498)
OKLCHoklch(47.09% 0.15 268.3)
XYZxyz(12.2855, 9.9302, 41.3055)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852AE #AE9438
analogous
#388DAE #3852AE #5938AE
triadic
#3852AE #AE3852 #52AE38
tetradic
#3852AE #AE388D #AE9438 #38AE59
square
#3852AE #AE388D #AE9438 #38AE59
split-complementary
#3852AE #AE5938 #8DAE38
monochromatic
#1A2651 #293C80 #3852AE #5972CA #889AD9

Accessibility & contrast

On white

7.03
#3852AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3852AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3852AE#FFFFFF#000000##FFFFFF
##3852AE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3852ae;
/* rgb */ color: rgb(56, 82, 174);
/* oklch */ color: oklch(47.1% 0.150 268.3);
Tailwind
colors: {
  custom: {
    50: '#7c82c7',
    500: '#3852ae',
    950: '#000000',
  },
}
SCSS
$custom: #3852ae;
$custom-light: #7c82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3852ae",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 226.78,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.14992,
    "h": 268.3
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#3852AE
secondary
#C3B47F
accent
#BC4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3852AE

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

Preview Lab → · Contrast checker → · Palette generator →

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