#382F93#382F93

#382F93 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.157 H 280.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#382F93
RGBrgb(56, 47, 147)
HSLhsl(245, 52%, 38%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(61.9%, 68%, 0%, 42.4%)
CIE-LABlab(26.68, 34.36, -53.82)
CIE-LCHlch(26.68, 63.85, 302.56°)
OKLaboklab(38.24% 0.0272 -0.155)
OKLCHoklch(38.24% 0.157 280)
XYZxyz(7.9122, 4.9798, 28.1424)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F93 #8A932F
analogous
#2F5893 #382F93 #6A2F93
triadic
#382F93 #93382F #2F9338
tetradic
#382F93 #932F58 #8A932F #2F936A
square
#382F93 #932F58 #8A932F #2F936A
split-complementary
#382F93 #936A2F #58932F
monochromatic
#151136 #262065 #382F93 #4A3EC1 #756CD0

Accessibility & contrast

On white

10.52
#382F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#382F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F93
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F93#FFFFFF#000000##FFFFFF
##382F931.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382f93;
/* rgb */ color: rgb(56, 47, 147);
/* oklch */ color: oklch(38.2% 0.157 280.0);
Tailwind
colors: {
  custom: {
    50: '#7968b4',
    500: '#382f93',
    950: '#000000',
  },
}
SCSS
$custom: #382f93;
$custom-light: #7968b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382f93",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 245.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.1574,
    "h": 280
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#382F93
secondary
#B0B766
accent
#DB4DCE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382F93

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

Preview Lab → · Contrast checker → · Palette generator →

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