#3852B0#3852B0

#3852B0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.153 H 268.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3852B0
RGBrgb(56, 82, 176)
HSLhsl(227, 52%, 45%)
HSVhsv(227, 68%, 69%)
CMYKcmyk(68.2%, 53.4%, 0%, 31%)
CIE-LABlab(37.86, 22.00, -53.12)
CIE-LCHlch(37.86, 57.50, 292.50°)
OKLaboklab(47.25% -0.0044 -0.1527)
OKLCHoklch(47.25% 0.153 268.4)
XYZxyz(12.4820, 10.0087, 42.3400)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852B0 #B09638
analogous
#388EB0 #3852B0 #5A38B0
triadic
#3852B0 #B03852 #52B038
tetradic
#3852B0 #B0388E #B09638 #38B05A
square
#3852B0 #B0388E #B09638 #38B05A
split-complementary
#3852B0 #B05A38 #8EB038
monochromatic
#1A2753 #293C82 #3852B0 #5B73CB #899AD9

Accessibility & contrast

On white

7.00
#3852B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3852B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3852B0#FFFFFF#000000##FFFFFF
##3852B01.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3852b0;
/* rgb */ color: rgb(56, 82, 176);
/* oklch */ color: oklch(47.2% 0.153 268.4);
Tailwind
colors: {
  custom: {
    50: '#7d82c8',
    500: '#3852b0',
    950: '#000000',
  },
}
SCSS
$custom: #3852b0;
$custom-light: #7d82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3852b0",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 227,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.15272,
    "h": 268.4
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3852B0

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

Preview Lab → · Contrast checker → · Palette generator →

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