#382A9E#382A9E

#382A9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.177 H 279.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#382A9E
RGBrgb(56, 42, 158)
HSLhsl(247, 58%, 39%)
HSVhsv(247, 73%, 62%)
CMYKcmyk(64.6%, 73.4%, 0%, 38%)
CIE-LABlab(26.63, 40.95, -60.63)
CIE-LCHlch(26.63, 73.16, 304.04°)
OKLaboklab(38.53% 0.0293 -0.1749)
OKLCHoklch(38.53% 0.177 279.5)
XYZxyz(8.6284, 4.9646, 32.8447)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A9E #909E2A
analogous
#2A569E #382A9E #722A9E
triadic
#382A9E #9E382A #2A9E38
tetradic
#382A9E #9E2A56 #909E2A #2A9E72
square
#382A9E #9E2A56 #909E2A #2A9E72
split-complementary
#382A9E #9E722A #569E2A
monochromatic
#16103D #271D6E #382A9E #4C3ACB #786BD8

Accessibility & contrast

On white

10.54
#382A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#382A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A9E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A9E#FFFFFF#000000##FFFFFF
##382A9E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382a9e;
/* rgb */ color: rgb(56, 42, 158);
/* oklch */ color: oklch(38.5% 0.177 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c65bc',
    500: '#382a9e',
    950: '#000000',
  },
}
SCSS
$custom: #382a9e;
$custom-light: #7c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#382a9e",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 247.241,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38527,
    "c": 0.17738,
    "h": 279.5
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#382A9E
secondary
#B4BE66
accent
#E147CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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