#382DA9#382DA9

#382DA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.188 H 277.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#382DA9
RGBrgb(56, 45, 169)
HSLhsl(245, 58%, 42%)
HSVhsv(245, 73%, 66%)
CMYKcmyk(66.9%, 73.4%, 0%, 33.7%)
CIE-LABlab(28.33, 42.81, -64.49)
CIE-LCHlch(28.33, 77.41, 303.57°)
OKLaboklab(40.06% 0.025 -0.1863)
OKLCHoklch(40.06% 0.188 277.6)
XYZxyz(9.7284, 5.5813, 38.0930)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DA9 #9EA92D
analogous
#2D60A9 #382DA9 #762DA9
triadic
#382DA9 #A9382D #2DA938
tetradic
#382DA9 #A92D60 #9EA92D #2DA976
square
#382DA9 #A92D60 #9EA92D #2DA976
split-complementary
#382DA9 #A9762D #60A92D
monochromatic
#181348 #282079 #382DA9 #5246CE #7F76DA

Accessibility & contrast

On white

9.92
#382DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#382DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DA9
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DA9#FFFFFF#000000##FFFFFF
##382DA91.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382da9;
/* rgb */ color: rgb(56, 45, 169);
/* oklch */ color: oklch(40.1% 0.188 277.6);
Tailwind
colors: {
  custom: {
    50: '#7e68c4',
    500: '#382da9',
    950: '#000000',
  },
}
SCSS
$custom: #382da9;
$custom-light: #7e68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382da9",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 245.323,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.18793,
    "h": 277.6
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#382DA9
secondary
#BBC26F
accent
#E147D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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