#382FA0#382FA0

#382FA0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.174 H 278.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#382FA0
RGBrgb(56, 47, 160)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 63%)
CMYKcmyk(65%, 70.6%, 0%, 37.3%)
CIE-LABlab(27.88, 38.70, -59.80)
CIE-LCHlch(27.88, 71.23, 302.91°)
OKLaboklab(39.47% 0.0253 -0.1726)
OKLCHoklch(39.47% 0.174 278.3)
XYZxyz(8.9905, 5.4111, 33.8216)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FA0 #97A02F
analogous
#2F5EA0 #382FA0 #702FA0
triadic
#382FA0 #A0382F #2FA038
tetradic
#382FA0 #A02F5E #97A02F #2FA070
square
#382FA0 #A02F5E #97A02F #2FA070
split-complementary
#382FA0 #A0702F #5EA02F
monochromatic
#171341 #272171 #382FA0 #4F44C8 #7B73D6

Accessibility & contrast

On white

10.08
#382FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#382FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FA0
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FA0#FFFFFF#000000##FFFFFF
##382FA01.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382fa0;
/* rgb */ color: rgb(56, 47, 160);
/* oklch */ color: oklch(39.5% 0.174 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c69bd',
    500: '#382fa0',
    950: '#000000',
  },
}
SCSS
$custom: #382fa0;
$custom-light: #7c69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#382fa0",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 244.779,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.1744,
    "h": 278.3
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#382FA0
secondary
#B7BE6D
accent
#DE4AD2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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