#3852BC#3852BC

#3852BC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.169 H 268.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3852BC
RGBrgb(56, 82, 188)
HSLhsl(228, 54%, 48%)
HSVhsv(228, 70%, 74%)
CMYKcmyk(70.2%, 56.4%, 0%, 26.3%)
CIE-LABlab(38.73, 26.38, -58.76)
CIE-LCHlch(38.73, 64.41, 294.18°)
OKLaboklab(48.18% -0.0037 -0.1693)
OKLCHoklch(48.18% 0.169 268.8)
XYZxyz(13.7222, 10.5048, 48.8717)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3852BC #BCA238
analogous
#3894BC #3852BC #6038BC
triadic
#3852BC #BC3852 #52BC38
tetradic
#3852BC #BC3894 #BCA238 #38BC60
square
#3852BC #BC3894 #BCA238 #38BC60
split-complementary
#3852BC #BC6038 #94BC38
monochromatic
#1C295E #2A3D8D #3852BC #6177D0 #90A0DE

Accessibility & contrast

On white

6.77
#3852BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3852BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3852BC#FFFFFF#000000##FFFFFF
##3852BC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3852bc;
/* rgb */ color: rgb(56, 82, 188);
/* oklch */ color: oklch(48.2% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#7f82d1',
    500: '#3852bc',
    950: '#000000',
  },
}
SCSS
$custom: #3852bc;
$custom-light: #7f82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3852bc",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 228.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.1693,
    "h": 268.8
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#3852BC
secondary
#C9BC87
accent
#C04ADD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3852BC

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

Preview Lab → · Contrast checker → · Palette generator →

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