#382A9C#382A9C

#382A9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.175 H 279.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#382A9C
RGBrgb(56, 42, 156)
HSLhsl(247, 58%, 39%)
HSVhsv(247, 73%, 61%)
CMYKcmyk(64.1%, 73.1%, 0%, 38.8%)
CIE-LABlab(26.44, 40.30, -59.73)
CIE-LCHlch(26.44, 72.06, 304.01°)
OKLaboklab(38.33% 0.0297 -0.1723)
OKLCHoklch(38.33% 0.175 279.8)
XYZxyz(8.4577, 4.8963, 31.9454)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A9C #8E9C2A
analogous
#2A559C #382A9C #712A9C
triadic
#382A9C #9C382A #2A9C38
tetradic
#382A9C #9C2A55 #8E9C2A #2A9C71
square
#382A9C #9C2A55 #8E9C2A #2A9C71
split-complementary
#382A9C #9C712A #559C2A
monochromatic
#15103C #271D6C #382A9C #4B39CA #776AD7

Accessibility & contrast

On white

10.61
#382A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#382A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A9C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A9C#FFFFFF#000000##FFFFFF
##382A9C1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382a9c;
/* rgb */ color: rgb(56, 42, 156);
/* oklch */ color: oklch(38.3% 0.175 279.8);
Tailwind
colors: {
  custom: {
    50: '#7c65ba',
    500: '#382a9c',
    950: '#000000',
  },
}
SCSS
$custom: #382a9c;
$custom-light: #7c65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#382a9c",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 247.368,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.17486,
    "h": 279.8
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#382A9C
secondary
#B2BD65
accent
#E147CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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