#383AC6#383AC6

#383AC6 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.210 H 273.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#383AC6
RGBrgb(56, 58, 198)
HSLhsl(239, 56%, 50%)
HSVhsv(239, 72%, 78%)
CMYKcmyk(71.7%, 70.7%, 0%, 22.4%)
CIE-LABlab(33.86, 44.87, -72.58)
CIE-LCHlch(33.86, 85.33, 301.73°)
OKLaboklab(44.87% 0.0123 -0.2099)
OKLCHoklch(44.87% 0.21 273.4)
XYZxyz(13.3336, 7.9428, 54.2455)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AC6 #C6C438
analogous
#3881C6 #383AC6 #7D38C6
triadic
#383AC6 #C6383A #3AC638
tetradic
#383AC6 #C63881 #C6C438 #38C67D
square
#383AC6 #C63881 #C6C438 #38C67D
split-complementary
#383AC6 #C67D38 #81C638
monochromatic
#1D1E67 #2B2C96 #383AC6 #6769D4 #9798E2

Accessibility & contrast

On white

8.11
#383AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#383AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AC6
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AC6#FFFFFF#000000##FFFFFF
##383AC61.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #383ac6;
/* rgb */ color: rgb(56, 58, 198);
/* oklch */ color: oklch(44.9% 0.210 273.4);
Tailwind
colors: {
  custom: {
    50: '#8371d9',
    500: '#383ac6',
    950: '#000000',
  },
}
SCSS
$custom: #383ac6;
$custom-light: #8371d9;
$custom-dark: #000000;
JSON
{
  "hex": "#383ac6",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 239.155,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.21026,
    "h": 273.4
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#383AC6
secondary
#CDCC8D
accent
#DD49DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383AC6

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

Preview Lab → · Contrast checker → · Palette generator →

#383AC6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva