#382F92#382F92

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

Color values

HEX#382F92
RGBrgb(56, 47, 146)
HSLhsl(245, 51%, 38%)
HSVhsv(245, 68%, 57%)
CMYKcmyk(61.6%, 67.8%, 0%, 42.7%)
CIE-LABlab(26.59, 34.03, -53.35)
CIE-LCHlch(26.59, 63.28, 302.53°)
OKLaboklab(38.15% 0.0274 -0.1536)
OKLCHoklch(38.15% 0.156 280.1)
XYZxyz(7.8341, 4.9485, 27.7309)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F92 #89922F
analogous
#2F5792 #382F92 #6A2F92
triadic
#382F92 #92382F #2F9238
tetradic
#382F92 #922F57 #89922F #2F926A
square
#382F92 #922F57 #89922F #2F926A
split-complementary
#382F92 #926A2F #57922F
monochromatic
#141135 #262064 #382F92 #4A3EC0 #756CD0

Accessibility & contrast

On white

10.55
#382F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382F92
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F92#FFFFFF#000000##FFFFFF
##382F921.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382f92;
/* rgb */ color: rgb(56, 47, 146);
/* oklch */ color: oklch(38.1% 0.156 280.1);
Tailwind
colors: {
  custom: {
    50: '#7968b3',
    500: '#382f92',
    950: '#000000',
  },
}
SCSS
$custom: #382f92;
$custom-light: #7968b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382f92",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 245.455,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38149,
    "c": 0.15607,
    "h": 280.1
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382F92

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

Preview Lab → · Contrast checker → · Palette generator →

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