#3828B6#3828B6

#3828B6 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.208 H 276.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3828B6
RGBrgb(56, 40, 182)
HSLhsl(247, 64%, 44%)
HSVhsv(247, 78%, 71%)
CMYKcmyk(69.2%, 78%, 0%, 28.6%)
CIE-LABlab(28.73, 49.59, -71.61)
CIE-LCHlch(28.73, 87.10, 304.70°)
OKLaboklab(40.75% 0.0249 -0.2069)
OKLCHoklch(40.75% 0.208 276.8)
XYZxyz(10.8304, 5.7348, 44.7831)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828B6 #A6B628
analogous
#285FB6 #3828B6 #7F28B6
triadic
#3828B6 #B63828 #28B638
tetradic
#3828B6 #B6285F #A6B628 #28B67F
square
#3828B6 #B6285F #A6B628 #28B67F
split-complementary
#3828B6 #B67F28 #5FB628
monochromatic
#191252 #291D84 #3828B6 #5545D6 #8377E1

Accessibility & contrast

On white

9.78
#3828B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3828B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828B6
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828B6#FFFFFF#000000##FFFFFF
##3828B61.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3828b6;
/* rgb */ color: rgb(56, 40, 182);
/* oklch */ color: oklch(40.7% 0.208 276.8);
Tailwind
colors: {
  custom: {
    50: '#8166cd',
    500: '#3828b6',
    950: '#000000',
  },
}
SCSS
$custom: #3828b6;
$custom-light: #8166cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3828b6",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 246.761,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.20844,
    "h": 276.8
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#3828B6
secondary
#BFC971
accent
#E741D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3828B6

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

Preview Lab → · Contrast checker → · Palette generator →

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