#3823BA#3823BA

#3823BA is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.217 H 276.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3823BA
RGBrgb(56, 35, 186)
HSLhsl(248, 68%, 43%)
HSVhsv(248, 81%, 73%)
CMYKcmyk(69.9%, 81.2%, 0%, 27.1%)
CIE-LABlab(28.35, 53.19, -74.63)
CIE-LCHlch(28.35, 91.64, 305.48°)
OKLaboklab(40.61% 0.026 -0.2157)
OKLCHoklch(40.61% 0.217 276.9)
XYZxyz(11.0920, 5.5870, 46.9387)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823BA #A5BA23
analogous
#235ABA #3823BA #8323BA
triadic
#3823BA #BA3823 #23BA38
tetradic
#3823BA #BA235A #A5BA23 #23BA83
square
#3823BA #BA235A #A5BA23 #23BA83
split-complementary
#3823BA #BA8323 #5ABA23
monochromatic
#191053 #281986 #3823BA #553FDB #8373E5

Accessibility & contrast

On white

9.92
#3823BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3823BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823BA
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823BA#FFFFFF#000000##FFFFFF
##3823BA1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003CB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3823ba;
/* rgb */ color: rgb(56, 35, 186);
/* oklch */ color: oklch(40.6% 0.217 276.9);
Tailwind
colors: {
  custom: {
    50: '#8363d0',
    500: '#3823ba',
    950: '#000000',
  },
}
SCSS
$custom: #3823ba;
$custom-light: #8363d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3823ba",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 248.344,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.21722,
    "h": 276.9
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#3823BA
secondary
#BECC6D
accent
#EB3DD3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3823BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3823BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva