#3828BC#3828BC

#3828BC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.215 H 276.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3828BC
RGBrgb(56, 40, 188)
HSLhsl(246, 65%, 45%)
HSVhsv(246, 79%, 74%)
CMYKcmyk(70.2%, 78.7%, 0%, 26.3%)
CIE-LABlab(29.38, 51.43, -74.09)
CIE-LCHlch(29.38, 90.19, 304.76°)
OKLaboklab(41.39% 0.0233 -0.2142)
OKLCHoklch(41.39% 0.215 276.2)
XYZxyz(11.4638, 5.9881, 48.1189)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828BC #ACBC28
analogous
#2862BC #3828BC #8228BC
triadic
#3828BC #BC3828 #28BC38
tetradic
#3828BC #BC2862 #ACBC28 #28BC82
square
#3828BC #BC2862 #ACBC28 #28BC82
split-complementary
#3828BC #BC8228 #62BC28
monochromatic
#1A1357 #291D8A #3828BC #5849D8 #877BE3

Accessibility & contrast

On white

9.56
#3828BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3828BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828BC
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828BC#FFFFFF#000000##FFFFFF
##3828BC1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3828bc;
/* rgb */ color: rgb(56, 40, 188);
/* oklch */ color: oklch(41.4% 0.215 276.2);
Tailwind
colors: {
  custom: {
    50: '#8366d2',
    500: '#3828bc',
    950: '#000000',
  },
}
SCSS
$custom: #3828bc;
$custom-light: #8366d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3828bc",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 246.486,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.21545,
    "h": 276.2
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#3828BC
secondary
#C2CB75
accent
#E840D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3828BC

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

Preview Lab → · Contrast checker → · Palette generator →

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