#382E8A#382E8A

#382E8A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.147 H 281.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#382E8A
RGBrgb(56, 46, 138)
HSLhsl(247, 50%, 36%)
HSVhsv(247, 67%, 54%)
CMYKcmyk(59.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(25.65, 31.97, -49.92)
CIE-LCHlch(25.65, 59.28, 302.63°)
OKLaboklab(37.25% 0.0292 -0.1436)
OKLCHoklch(37.25% 0.147 281.5)
XYZxyz(7.1939, 4.6292, 24.5543)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E8A #808A2E
analogous
#2E528A #382E8A #662E8A
triadic
#382E8A #8A382E #2E8A38
tetradic
#382E8A #8A2E52 #808A2E #2E8A66
square
#382E8A #8A2E52 #808A2E #2E8A66
split-complementary
#382E8A #8A662E #528A2E
monochromatic
#130F2E #251F5C #382E8A #4B3DB8 #7166CC

Accessibility & contrast

On white

10.90
#382E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E8A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E8A#FFFFFF#000000##FFFFFF
##382E8A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#074557
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382e8a;
/* rgb */ color: rgb(56, 46, 138);
/* oklch */ color: oklch(37.3% 0.147 281.5);
Tailwind
colors: {
  custom: {
    50: '#7867ad',
    500: '#382e8a',
    950: '#000000',
  },
}
SCSS
$custom: #382e8a;
$custom-light: #7867ad;
$custom-dark: #000000;
JSON
{
  "hex": "#382e8a",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 246.522,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.14654,
    "h": 281.5
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#382E8A
secondary
#AAB361
accent
#DA4ECA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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