#383CA6#383CA6

#383CA6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.167 H 275.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#383CA6
RGBrgb(56, 60, 166)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(66.3%, 63.9%, 0%, 34.9%)
CIE-LABlab(31.40, 32.71, -57.65)
CIE-LCHlch(31.40, 66.28, 299.57°)
OKLaboklab(42.2% 0.0145 -0.1662)
OKLCHoklch(42.2% 0.167 275)
XYZxyz(10.1274, 6.8248, 36.8526)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CA6 #A6A238
analogous
#3873A6 #383CA6 #6B38A6
triadic
#383CA6 #A6383C #3CA638
tetradic
#383CA6 #A63873 #A6A238 #38A66B
square
#383CA6 #A63873 #A6A238 #38A66B
split-complementary
#383CA6 #A66B38 #73A638
monochromatic
#191B4A #292B78 #383CA6 #5559C6 #8386D5

Accessibility & contrast

On white

8.88
#383CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#383CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CA6
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CA6#FFFFFF#000000##FFFFFF
##383CA61.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ca6;
/* rgb */ color: rgb(56, 60, 166);
/* oklch */ color: oklch(42.2% 0.167 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c72c1',
    500: '#383ca6',
    950: '#000000',
  },
}
SCSS
$custom: #383ca6;
$custom-light: #7c72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383ca6",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 237.818,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.16684,
    "h": 275
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#383CA6
secondary
#BFBC7B
accent
#D44FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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