#3823BD#3823BD

#3823BD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.221 H 276.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3823BD
RGBrgb(56, 35, 189)
HSLhsl(248, 69%, 44%)
HSVhsv(248, 81%, 74%)
CMYKcmyk(70.4%, 81.5%, 0%, 25.9%)
CIE-LABlab(28.68, 54.08, -75.84)
CIE-LCHlch(28.68, 93.15, 305.49°)
OKLaboklab(40.94% 0.0251 -0.2192)
OKLCHoklch(40.94% 0.221 276.5)
XYZxyz(11.4142, 5.7159, 48.6360)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823BD #A8BD23
analogous
#235BBD #3823BD #8523BD
triadic
#3823BD #BD3823 #23BD38
tetradic
#3823BD #BD235B #A8BD23 #23BD85
square
#3823BD #BD235B #A8BD23 #23BD85
split-complementary
#3823BD #BD8523 #5BBD23
monochromatic
#191056 #291989 #3823BD #5641DC #8475E5

Accessibility & contrast

On white

9.80
#3823BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3823BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823BD
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823BD#FFFFFF#000000##FFFFFF
##3823BD1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3823bd;
/* rgb */ color: rgb(56, 35, 189);
/* oklch */ color: oklch(40.9% 0.221 276.5);
Tailwind
colors: {
  custom: {
    50: '#8363d2',
    500: '#3823bd',
    950: '#000000',
  },
}
SCSS
$custom: #3823bd;
$custom-light: #8363d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3823bd",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 248.182,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.22063,
    "h": 276.5
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#3823BD
secondary
#C0CD6F
accent
#EC3CD4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3823BD

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

Preview Lab → · Contrast checker → · Palette generator →

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