#3823A9#3823A9

#3823A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.8% C 0.198 H 279.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3823A9
RGBrgb(56, 35, 169)
HSLhsl(249, 66%, 40%)
HSVhsv(249, 79%, 66%)
CMYKcmyk(66.9%, 79.3%, 0%, 33.7%)
CIE-LABlab(26.47, 48.10, -67.57)
CIE-LCHlch(26.47, 82.94, 305.45°)
OKLaboklab(38.75% 0.0308 -0.1951)
OKLCHoklch(38.75% 0.198 279)
XYZxyz(9.3911, 4.9066, 37.9806)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823A9 #94A923
analogous
#2351A9 #3823A9 #7B23A9
triadic
#3823A9 #A93823 #23A938
tetradic
#3823A9 #A92351 #94A923 #23A97B
square
#3823A9 #A92351 #94A923 #23A97B
split-complementary
#3823A9 #A97B23 #51A923
monochromatic
#160E44 #271976 #3823A9 #4D34D5 #7A67DF

Accessibility & contrast

On white

10.60
#3823A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3823A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823A9
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823A9#FFFFFF#000000##FFFFFF
##3823A91.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3823a9;
/* rgb */ color: rgb(56, 35, 169);
/* oklch */ color: oklch(38.8% 0.198 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f62c4',
    500: '#3823a9',
    950: '#000000',
  },
}
SCSS
$custom: #3823a9;
$custom-light: #7f62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3823a9",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 249.403,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.19755,
    "h": 279
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#3823A9
secondary
#B6C563
accent
#E93FCE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3823A9

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

Preview Lab → · Contrast checker → · Palette generator →

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