#382E95#382E95

#382E95 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.161 H 279.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#382E95
RGBrgb(56, 46, 149)
HSLhsl(246, 53%, 38%)
HSVhsv(246, 69%, 58%)
CMYKcmyk(62.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(26.63, 35.65, -55.12)
CIE-LCHlch(26.63, 65.64, 302.89°)
OKLaboklab(38.27% 0.0278 -0.1588)
OKLCHoklch(38.27% 0.161 279.9)
XYZxyz(8.0310, 4.9641, 28.9629)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E95 #8B952E
analogous
#2E5795 #382E95 #6B2E95
triadic
#382E95 #95382E #2E9538
tetradic
#382E95 #952E57 #8B952E #2E956B
square
#382E95 #952E57 #8B952E #2E956B
split-complementary
#382E95 #956B2E #57952E
monochromatic
#151137 #262066 #382E95 #4A3DC3 #766CD2

Accessibility & contrast

On white

10.54
#382E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382E95
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E95#FFFFFF#000000##FFFFFF
##382E951.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382e95;
/* rgb */ color: rgb(56, 46, 149);
/* oklch */ color: oklch(38.3% 0.161 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a68b5',
    500: '#382e95',
    950: '#000000',
  },
}
SCSS
$custom: #382e95;
$custom-light: #7a68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382e95",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 245.825,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.16126,
    "h": 279.9
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#382E95
secondary
#B1B966
accent
#DC4CCE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382E95

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

Preview Lab → · Contrast checker → · Palette generator →

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