#382D71#382D71

#382D71 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.9% C 0.113 H 286.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#382D71
RGBrgb(56, 45, 113)
HSLhsl(250, 43%, 31%)
HSVhsv(250, 60%, 44%)
CMYKcmyk(50.4%, 60.2%, 0%, 55.7%)
CIE-LABlab(23.37, 24.27, -37.84)
CIE-LCHlch(23.37, 44.95, 302.67°)
OKLaboklab(34.94% 0.0319 -0.1081)
OKLCHoklch(34.94% 0.113 286.4)
XYZxyz(5.5490, 3.9095, 16.0818)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D71 #66712D
analogous
#2D4471 #382D71 #5A2D71
triadic
#382D71 #71382D #2D7138
tetradic
#382D71 #712D44 #66712D #2D715A
square
#382D71 #712D44 #66712D #2D715A
split-complementary
#382D71 #715A2D #44712D
monochromatic
#0D0A19 #221C45 #382D71 #4E3E9D #6B5BBE

Accessibility & contrast

On white

11.78
#382D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#382D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D71
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D71#FFFFFF#000000##FFFFFF
##382D711.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#253C4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #382d71;
/* rgb */ color: rgb(56, 45, 113);
/* oklch */ color: oklch(34.9% 0.113 286.4);
Tailwind
colors: {
  custom: {
    50: '#73669a',
    500: '#382d71',
    950: '#000000',
  },
}
SCSS
$custom: #382d71;
$custom-light: #73669a;
$custom-dark: #000000;
JSON
{
  "hex": "#382d71",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 249.706,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.11268,
    "h": 286.4
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#382D71
secondary
#96A357
accent
#D355BE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #382D71

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

Preview Lab → · Contrast checker → · Palette generator →

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