#383CA1#383CA1

#383CA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.160 H 275.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#383CA1
RGBrgb(56, 60, 161)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 63%)
CMYKcmyk(65.2%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.98, 30.96, -55.32)
CIE-LCHlch(30.98, 63.39, 299.23°)
OKLaboklab(41.76% 0.0147 -0.1594)
OKLCHoklch(41.76% 0.16 275.3)
XYZxyz(9.6777, 6.6449, 34.4839)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA1 #A19D38
analogous
#3871A1 #383CA1 #6838A1
triadic
#383CA1 #A1383C #3CA138
tetradic
#383CA1 #A13871 #A19D38 #38A168
square
#383CA1 #A13871 #A19D38 #38A168
split-complementary
#383CA1 #A16838 #71A138
monochromatic
#181A46 #282B74 #383CA1 #5357C3 #8084D3

Accessibility & contrast

On white

9.02
#383CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#383CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA1#FFFFFF#000000##FFFFFF
##383CA11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383ca1;
/* rgb */ color: rgb(56, 60, 161);
/* oklch */ color: oklch(41.8% 0.160 275.3);
Tailwind
colors: {
  custom: {
    50: '#7b72be',
    500: '#383ca1',
    950: '#000000',
  },
}
SCSS
$custom: #383ca1;
$custom-light: #7b72be;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca1",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 237.714,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.16006,
    "h": 275.3
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#383CA1
secondary
#BCBA78
accent
#D350D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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