#382EA0#382EA0

#382EA0 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.176 H 278.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#382EA0
RGBrgb(56, 46, 160)
HSLhsl(245, 55%, 40%)
HSVhsv(245, 71%, 63%)
CMYKcmyk(65%, 71.2%, 0%, 37.3%)
CIE-LABlab(27.66, 39.29, -60.15)
CIE-LCHlch(27.66, 71.85, 303.15°)
OKLaboklab(39.32% 0.026 -0.1736)
OKLCHoklch(39.32% 0.176 278.5)
XYZxyz(8.9510, 5.3321, 33.8084)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EA0 #96A02E
analogous
#2E5DA0 #382EA0 #712EA0
triadic
#382EA0 #A0382E #2EA038
tetradic
#382EA0 #A02E5D #96A02E #2EA071
square
#382EA0 #A02E5D #96A02E #2EA071
split-complementary
#382EA0 #A0712E #5DA02E
monochromatic
#171341 #272070 #382EA0 #4E42C9 #7B72D6

Accessibility & contrast

On white

10.16
#382EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#382EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EA0
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EA0#FFFFFF#000000##FFFFFF
##382EA01.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382ea0;
/* rgb */ color: rgb(56, 46, 160);
/* oklch */ color: oklch(39.3% 0.176 278.5);
Tailwind
colors: {
  custom: {
    50: '#7c68bd',
    500: '#382ea0',
    950: '#000000',
  },
}
SCSS
$custom: #382ea0;
$custom-light: #7c68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#382ea0",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 245.263,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.17553,
    "h": 278.5
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#382EA0
secondary
#B7BE6C
accent
#DF49D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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