#383AA4#383AA4

#383AA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.167 H 275.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#383AA4
RGBrgb(56, 58, 164)
HSLhsl(239, 49%, 43%)
HSVhsv(239, 66%, 64%)
CMYKcmyk(65.9%, 64.6%, 0%, 35.7%)
CIE-LABlab(30.75, 33.28, -57.51)
CIE-LCHlch(30.75, 66.45, 300.06°)
OKLaboklab(41.67% 0.0162 -0.1658)
OKLCHoklch(41.67% 0.167 275.6)
XYZxyz(9.8426, 6.5464, 35.8596)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA4 #A4A238
analogous
#3870A4 #383AA4 #6C38A4
triadic
#383AA4 #A4383A #3AA438
tetradic
#383AA4 #A43870 #A4A238 #38A46C
square
#383AA4 #A43870 #A4A238 #38A46C
split-complementary
#383AA4 #A46C38 #70A438
monochromatic
#191A49 #282A76 #383AA4 #5457C5 #8284D4

Accessibility & contrast

On white

9.09
#383AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#383AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA4#FFFFFF#000000##FFFFFF
##383AA41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383aa4;
/* rgb */ color: rgb(56, 58, 164);
/* oklch */ color: oklch(41.7% 0.167 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c70c0',
    500: '#383aa4',
    950: '#000000',
  },
}
SCSS
$custom: #383aa4;
$custom-light: #7c70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa4",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 238.889,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.16661,
    "h": 275.6
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#383AA4
secondary
#BEBD7A
accent
#D64FD9
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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