#3823C1#3823C1

#3823C1 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.4% C 0.225 H 276.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3823C1
RGBrgb(56, 35, 193)
HSLhsl(248, 69%, 45%)
HSVhsv(248, 82%, 76%)
CMYKcmyk(71%, 81.9%, 0%, 24.3%)
CIE-LABlab(29.14, 55.25, -77.45)
CIE-LCHlch(29.14, 95.14, 305.50°)
OKLaboklab(41.38% 0.024 -0.2239)
OKLCHoklch(41.38% 0.225 276.1)
XYZxyz(11.8544, 5.8919, 50.9543)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3823C1 #ACC123
analogous
#235DC1 #3823C1 #8723C1
triadic
#3823C1 #C13823 #23C138
tetradic
#3823C1 #C1235D #ACC123 #23C187
square
#3823C1 #C1235D #ACC123 #23C187
split-complementary
#3823C1 #C18723 #5DC123
monochromatic
#1A1059 #291A8D #3823C1 #5844DD #8778E6

Accessibility & contrast

On white

9.64
#3823C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3823C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3823C1
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3823C1#FFFFFF#000000##FFFFFF
##3823C11.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003EBE
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3823c1;
/* rgb */ color: rgb(56, 35, 193);
/* oklch */ color: oklch(41.4% 0.225 276.1);
Tailwind
colors: {
  custom: {
    50: '#8464d5',
    500: '#3823c1',
    950: '#000000',
  },
}
SCSS
$custom: #3823c1;
$custom-light: #8464d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3823c1",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 247.975,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.22514,
    "h": 276.1
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#3823C1
secondary
#C2CE72
accent
#EC3CD5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3823C1

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

Preview Lab → · Contrast checker → · Palette generator →

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