#382E91#382E91

#382E91 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.156 H 280.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#382E91
RGBrgb(56, 46, 145)
HSLhsl(246, 52%, 37%)
HSVhsv(246, 68%, 57%)
CMYKcmyk(61.4%, 68.3%, 0%, 43.1%)
CIE-LABlab(26.27, 34.31, -53.25)
CIE-LCHlch(26.27, 63.35, 302.80°)
OKLaboklab(37.89% 0.0284 -0.1534)
OKLCHoklch(37.89% 0.156 280.5)
XYZxyz(7.7171, 4.8385, 27.3098)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E91 #87912E
analogous
#2E5591 #382E91 #6A2E91
triadic
#382E91 #91382E #2E9138
tetradic
#382E91 #912E55 #87912E #2E916A
square
#382E91 #912E55 #87912E #2E916A
split-complementary
#382E91 #916A2E #55912E
monochromatic
#141134 #261F63 #382E91 #4A3DBF #746AD0

Accessibility & contrast

On white

10.67
#382E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382E91
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E91#FFFFFF#000000##FFFFFF
##382E911.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382e91;
/* rgb */ color: rgb(56, 46, 145);
/* oklch */ color: oklch(37.9% 0.156 280.5);
Tailwind
colors: {
  custom: {
    50: '#7968b2',
    500: '#382e91',
    950: '#000000',
  },
}
SCSS
$custom: #382e91;
$custom-light: #7968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#382e91",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 246.061,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.15597,
    "h": 280.5
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#382E91
secondary
#AEB764
accent
#DB4DCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382E91

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

Preview Lab → · Contrast checker → · Palette generator →

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