#382F91#382F91

#382F91 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.155 H 280.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#382F91
RGBrgb(56, 47, 145)
HSLhsl(246, 51%, 38%)
HSVhsv(246, 68%, 57%)
CMYKcmyk(61.4%, 67.6%, 0%, 43.1%)
CIE-LABlab(26.50, 33.69, -52.88)
CIE-LCHlch(26.50, 62.70, 302.51°)
OKLaboklab(38.06% 0.0275 -0.1523)
OKLCHoklch(38.06% 0.155 280.2)
XYZxyz(7.7566, 4.9176, 27.3230)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F91 #88912F
analogous
#2F5791 #382F91 #692F91
triadic
#382F91 #91382F #2F9138
tetradic
#382F91 #912F57 #88912F #2F9169
square
#382F91 #912F57 #88912F #2F9169
split-complementary
#382F91 #91692F #57912F
monochromatic
#141135 #262063 #382F91 #4A3EBF #746BCF

Accessibility & contrast

On white

10.59
#382F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382F91
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F91#FFFFFF#000000##FFFFFF
##382F911.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382f91;
/* rgb */ color: rgb(56, 47, 145);
/* oklch */ color: oklch(38.1% 0.155 280.2);
Tailwind
colors: {
  custom: {
    50: '#7968b2',
    500: '#382f91',
    950: '#000000',
  },
}
SCSS
$custom: #382f91;
$custom-light: #7968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#382f91",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 245.51,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38057,
    "c": 0.15473,
    "h": 280.2
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382F91

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

Preview Lab → · Contrast checker → · Palette generator →

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