#382E92#382E92

#382E92 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.157 H 280.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#382E92
RGBrgb(56, 46, 146)
HSLhsl(246, 52%, 38%)
HSVhsv(246, 68%, 57%)
CMYKcmyk(61.6%, 68.5%, 0%, 42.7%)
CIE-LABlab(26.36, 34.65, -53.72)
CIE-LCHlch(26.36, 63.92, 302.82°)
OKLaboklab(37.99% 0.0282 -0.1547)
OKLCHoklch(37.99% 0.157 280.3)
XYZxyz(7.7946, 4.8695, 27.7177)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E92 #88922E
analogous
#2E5692 #382E92 #6A2E92
triadic
#382E92 #92382E #2E9238
tetradic
#382E92 #922E56 #88922E #2E926A
square
#382E92 #922E56 #88922E #2E926A
split-complementary
#382E92 #926A2E #56922E
monochromatic
#141135 #261F63 #382E92 #4A3DC1 #746AD0

Accessibility & contrast

On white

10.64
#382E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#382E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E92
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E92#FFFFFF#000000##FFFFFF
##382E921.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382e92;
/* rgb */ color: rgb(56, 46, 146);
/* oklch */ color: oklch(38.0% 0.157 280.3);
Tailwind
colors: {
  custom: {
    50: '#7968b3',
    500: '#382e92',
    950: '#000000',
  },
}
SCSS
$custom: #382e92;
$custom-light: #7968b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382e92",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 246,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.15729,
    "h": 280.3
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#382E92
secondary
#AFB765
accent
#DC4CCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382E92

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

Preview Lab → · Contrast checker → · Palette generator →

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