#382A93#382A93

#382A93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.163 H 281.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#382A93
RGBrgb(56, 42, 147)
HSLhsl(248, 56%, 37%)
HSVhsv(248, 71%, 58%)
CMYKcmyk(61.9%, 71.4%, 0%, 42.4%)
CIE-LABlab(25.57, 37.38, -55.63)
CIE-LCHlch(25.57, 67.02, 303.90°)
OKLaboklab(37.45% 0.0314 -0.1603)
OKLCHoklch(37.45% 0.163 281.1)
XYZxyz(7.7237, 4.6027, 28.0795)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A93 #85932A
analogous
#2A5193 #382A93 #6D2A93
triadic
#382A93 #93382A #2A9338
tetradic
#382A93 #932A51 #85932A #2A936D
square
#382A93 #932A51 #85932A #2A936D
split-complementary
#382A93 #936D2A #51932A
monochromatic
#140F34 #261C63 #382A93 #4A38C3 #7365D3

Accessibility & contrast

On white

10.93
#382A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#382A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A93
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A93#FFFFFF#000000##FFFFFF
##382A931.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382a93;
/* rgb */ color: rgb(56, 42, 147);
/* oklch */ color: oklch(37.4% 0.163 281.1);
Tailwind
colors: {
  custom: {
    50: '#7a65b4',
    500: '#382a93',
    950: '#000000',
  },
}
SCSS
$custom: #382a93;
$custom-light: #7a65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382a93",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 248,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37447,
    "c": 0.16338,
    "h": 281.1
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#382A93
secondary
#ADB960
accent
#DF49CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382A93

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

Preview Lab → · Contrast checker → · Palette generator →

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