#3852A2#3852A2

#3852A2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.133 H 267.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3852A2
RGBrgb(56, 82, 162)
HSLhsl(225, 49%, 43%)
HSVhsv(225, 65%, 64%)
CMYKcmyk(65.4%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.90, 16.88, -46.34)
CIE-LCHlch(36.90, 49.32, 290.02°)
OKLaboklab(46.21% -0.0058 -0.1327)
OKLCHoklch(46.21% 0.133 267.5)
XYZxyz(11.1675, 9.4830, 35.4173)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852A2 #A28838
analogous
#3887A2 #3852A2 #5338A2
triadic
#3852A2 #A23852 #52A238
tetradic
#3852A2 #A23887 #A28838 #38A253
square
#3852A2 #A23887 #A28838 #38A253
split-complementary
#3852A2 #A25338 #87A238
monochromatic
#192447 #283B75 #3852A2 #536FC4 #8195D3

Accessibility & contrast

On white

7.25
#3852A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3852A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3852A2#FFFFFF#000000##FFFFFF
##3852A21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#0F52A0
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3852a2;
/* rgb */ color: rgb(56, 82, 162);
/* oklch */ color: oklch(46.2% 0.133 267.5);
Tailwind
colors: {
  custom: {
    50: '#7a82be',
    500: '#3852a2',
    950: '#000000',
  },
}
SCSS
$custom: #3852a2;
$custom-light: #7a82be;
$custom-dark: #000000;
JSON
{
  "hex": "#3852a2",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 225.283,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.13285,
    "h": 267.5
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#3852A2
secondary
#BDAC79
accent
#B750D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3852A2

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

Preview Lab → · Contrast checker → · Palette generator →

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