#3828C3#3828C3

#3828C3 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.2% C 0.224 H 275.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3828C3
RGBrgb(56, 40, 195)
HSLhsl(246, 66%, 46%)
HSVhsv(246, 79%, 76%)
CMYKcmyk(71.3%, 79.5%, 0%, 23.5%)
CIE-LABlab(30.15, 53.55, -76.95)
CIE-LCHlch(30.15, 93.75, 304.83°)
OKLaboklab(42.15% 0.0215 -0.2225)
OKLCHoklch(42.15% 0.224 275.5)
XYZxyz(12.2368, 6.2973, 52.1898)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828C3 #B3C328
analogous
#2865C3 #3828C3 #8528C3
triadic
#3828C3 #C33828 #28C338
tetradic
#3828C3 #C32865 #B3C328 #28C385
square
#3828C3 #C32865 #B3C328 #28C385
split-complementary
#3828C3 #C38528 #65C328
monochromatic
#1B135D #291E90 #3828C3 #5C4EDB #8B80E5

Accessibility & contrast

On white

9.29
#3828C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3828C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828C3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828C3#FFFFFF#000000##FFFFFF
##3828C31.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0040C0
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3828c3;
/* rgb */ color: rgb(56, 40, 195);
/* oklch */ color: oklch(42.2% 0.224 275.5);
Tailwind
colors: {
  custom: {
    50: '#8466d7',
    500: '#3828c3',
    950: '#000000',
  },
}
SCSS
$custom: #3828c3;
$custom-light: #8466d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3828c3",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 246.194,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.22352,
    "h": 275.5
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#3828C3
secondary
#C5CE79
accent
#E93FD7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3828C3

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

Preview Lab → · Contrast checker → · Palette generator →

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