#383AC7#383AC7

#383AC7 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.211 H 273.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#383AC7
RGBrgb(56, 58, 199)
HSLhsl(239, 56%, 50%)
HSVhsv(239, 72%, 78%)
CMYKcmyk(71.9%, 70.9%, 0%, 22%)
CIE-LABlab(33.96, 45.20, -73.00)
CIE-LCHlch(33.96, 85.87, 301.77°)
OKLaboklab(44.97% 0.0122 -0.2111)
OKLCHoklch(44.97% 0.211 273.3)
XYZxyz(13.4493, 7.9890, 54.8550)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AC7 #C7C538
analogous
#3881C7 #383AC7 #7E38C7
triadic
#383AC7 #C7383A #3AC738
tetradic
#383AC7 #C73881 #C7C538 #38C77E
square
#383AC7 #C73881 #C7C538 #38C77E
split-complementary
#383AC7 #C77E38 #81C738
monochromatic
#1D1E67 #2B2C97 #383AC7 #6869D4 #9899E2

Accessibility & contrast

On white

8.08
#383AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#383AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AC7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AC7#FFFFFF#000000##FFFFFF
##383AC71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #383ac7;
/* rgb */ color: rgb(56, 58, 199);
/* oklch */ color: oklch(45.0% 0.211 273.3);
Tailwind
colors: {
  custom: {
    50: '#8371d9',
    500: '#383ac7',
    950: '#000000',
  },
}
SCSS
$custom: #383ac7;
$custom-light: #8371d9;
$custom-dark: #000000;
JSON
{
  "hex": "#383ac7",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 239.161,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.21149,
    "h": 273.3
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#383AC7
secondary
#CDCD8D
accent
#DD48DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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