#382DA0#382DA0

#382DA0 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.177 H 278.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#382DA0
RGBrgb(56, 45, 160)
HSLhsl(246, 56%, 40%)
HSVhsv(246, 72%, 63%)
CMYKcmyk(65%, 71.9%, 0%, 37.3%)
CIE-LABlab(27.45, 39.87, -60.50)
CIE-LCHlch(27.45, 72.46, 303.39°)
OKLaboklab(39.17% 0.0267 -0.1746)
OKLCHoklch(39.17% 0.177 278.7)
XYZxyz(8.9124, 5.2549, 33.7955)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DA0 #95A02D
analogous
#2D5BA0 #382DA0 #712DA0
triadic
#382DA0 #A0382D #2DA038
tetradic
#382DA0 #A02D5B #95A02D #2DA071
square
#382DA0 #A02D5B #95A02D #2DA071
split-complementary
#382DA0 #A0712D #5BA02D
monochromatic
#171240 #272070 #382DA0 #4E41C9 #7A70D7

Accessibility & contrast

On white

10.24
#382DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#382DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DA0
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DA0#FFFFFF#000000##FFFFFF
##382DA01.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382da0;
/* rgb */ color: rgb(56, 45, 160);
/* oklch */ color: oklch(39.2% 0.177 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c67bd',
    500: '#382da0',
    950: '#000000',
  },
}
SCSS
$custom: #382da0;
$custom-light: #7c67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#382da0",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 245.739,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.17664,
    "h": 278.7
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#382DA0
secondary
#B6BE6B
accent
#DF48D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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