#382E97#382E97

#382E97 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.164 H 279.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#382E97
RGBrgb(56, 46, 151)
HSLhsl(246, 53%, 39%)
HSVhsv(246, 70%, 59%)
CMYKcmyk(62.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(26.82, 36.31, -56.05)
CIE-LCHlch(26.82, 66.78, 302.94°)
OKLaboklab(38.45% 0.0275 -0.1616)
OKLCHoklch(38.45% 0.164 279.7)
XYZxyz(8.1920, 5.0285, 29.8111)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E97 #8D972E
analogous
#2E5897 #382E97 #6C2E97
triadic
#382E97 #97382E #2E9738
tetradic
#382E97 #972E58 #8D972E #2E976C
square
#382E97 #972E58 #8D972E #2E976C
split-complementary
#382E97 #976C2E #58972E
monochromatic
#151139 #272068 #382E97 #4B3EC4 #776DD2

Accessibility & contrast

On white

10.47
#382E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#382E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E97
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E97#FFFFFF#000000##FFFFFF
##382E971.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382e97;
/* rgb */ color: rgb(56, 46, 151);
/* oklch */ color: oklch(38.5% 0.164 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a68b7',
    500: '#382e97',
    950: '#000000',
  },
}
SCSS
$custom: #382e97;
$custom-light: #7a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#382e97",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 245.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38454,
    "c": 0.16389,
    "h": 279.7
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#382E97
secondary
#B2BA67
accent
#DD4BCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382E97

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

Preview Lab → · Contrast checker → · Palette generator →

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