#382EA5#382EA5

#382EA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.182 H 277.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#382EA5
RGBrgb(56, 46, 165)
HSLhsl(245, 56%, 41%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(66.1%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.14, 40.93, -62.39)
CIE-LCHlch(28.14, 74.62, 303.27°)
OKLaboklab(39.81% 0.0251 -0.1801)
OKLCHoklch(39.81% 0.182 277.9)
XYZxyz(9.3972, 5.5106, 36.1584)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EA5 #9BA52E
analogous
#2E60A5 #382EA5 #742EA5
triadic
#382EA5 #A5382E #2EA538
tetradic
#382EA5 #A52E60 #9BA52E #2EA574
square
#382EA5 #A52E60 #9BA52E #2EA574
split-complementary
#382EA5 #A5742E #60A52E
monochromatic
#181345 #282175 #382EA5 #5045CB #7D75D8

Accessibility & contrast

On white

9.99
#382EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#382EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EA5
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EA5#FFFFFF#000000##FFFFFF
##382EA51.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382ea5;
/* rgb */ color: rgb(56, 46, 165);
/* oklch */ color: oklch(39.8% 0.182 277.9);
Tailwind
colors: {
  custom: {
    50: '#7d68c1',
    500: '#382ea5',
    950: '#000000',
  },
}
SCSS
$custom: #382ea5;
$custom-light: #7d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#382ea5",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 245.042,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.18187,
    "h": 277.9
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#382EA5
secondary
#B9C06F
accent
#E048D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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