#382C9E#382C9E

#382C9E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.175 H 279.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#382C9E
RGBrgb(56, 44, 158)
HSLhsl(246, 56%, 40%)
HSVhsv(246, 72%, 62%)
CMYKcmyk(64.6%, 72.2%, 0%, 38%)
CIE-LABlab(27.05, 39.80, -59.95)
CIE-LCHlch(27.05, 71.96, 303.58°)
OKLaboklab(38.82% 0.0278 -0.173)
OKLCHoklch(38.82% 0.175 279.1)
XYZxyz(8.7012, 5.1101, 32.8689)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C9E #929E2C
analogous
#2C599E #382C9E #712C9E
triadic
#382C9E #9E382C #2C9E38
tetradic
#382C9E #9E2C59 #929E2C #2C9E71
square
#382C9E #9E2C59 #929E2C #2C9E71
split-complementary
#382C9E #9E712C #599E2C
monochromatic
#16113E #271F6E #382C9E #4D3EC9 #796ED7

Accessibility & contrast

On white

10.38
#382C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#382C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C9E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C9E#FFFFFF#000000##FFFFFF
##382C9E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #382c9e;
/* rgb */ color: rgb(56, 44, 158);
/* oklch */ color: oklch(38.8% 0.175 279.1);
Tailwind
colors: {
  custom: {
    50: '#7c67bc',
    500: '#382c9e',
    950: '#000000',
  },
}
SCSS
$custom: #382c9e;
$custom-light: #7c67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#382c9e",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 246.316,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.1752,
    "h": 279.1
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#382C9E
secondary
#B5BE68
accent
#E048D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382C9E

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

Preview Lab → · Contrast checker → · Palette generator →

#382C9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva