#3823A5#3823A5

#3823A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.193 H 279.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3823A5
RGBrgb(56, 35, 165)
HSLhsl(250, 65%, 39%)
HSVhsv(250, 79%, 65%)
CMYKcmyk(66.1%, 78.8%, 0%, 35.3%)
CIE-LABlab(26.04, 46.89, -65.86)
CIE-LCHlch(26.04, 80.85, 305.45°)
OKLaboklab(38.32% 0.0319 -0.1902)
OKLCHoklch(38.32% 0.193 279.5)
XYZxyz(9.0213, 4.7587, 36.0331)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823A5 #90A523
analogous
#234FA5 #3823A5 #7923A5
triadic
#3823A5 #A53823 #23A538
tetradic
#3823A5 #A5234F #90A523 #23A579
square
#3823A5 #A5234F #90A523 #23A579
split-complementary
#3823A5 #A57923 #4FA523
monochromatic
#160E40 #271873 #3823A5 #4C32D3 #7864DE

Accessibility & contrast

On white

10.76
#3823A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3823A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823A5
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823A5#FFFFFF#000000##FFFFFF
##3823A51.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3823a5;
/* rgb */ color: rgb(56, 35, 165);
/* oklch */ color: oklch(38.3% 0.193 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e62c1',
    500: '#3823a5',
    950: '#000000',
  },
}
SCSS
$custom: #3823a5;
$custom-light: #7e62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3823a5",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 249.692,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.19283,
    "h": 279.5
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#3823A5
secondary
#B4C460
accent
#E840CD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3823A5

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

Preview Lab → · Contrast checker → · Palette generator →

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