#382FA3#382FA3

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

Color values

HEX#382FA3
RGBrgb(56, 47, 163)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 64%)
CMYKcmyk(65.6%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.16, 39.69, -61.15)
CIE-LCHlch(28.16, 72.90, 302.99°)
OKLaboklab(39.76% 0.0248 -0.1765)
OKLCHoklch(39.76% 0.178 278)
XYZxyz(9.2561, 5.5174, 35.2204)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FA3 #9AA32F
analogous
#2F60A3 #382FA3 #722FA3
triadic
#382FA3 #A3382F #2FA338
tetradic
#382FA3 #A32F60 #9AA32F #2FA372
square
#382FA3 #A32F60 #9AA32F #2FA372
split-complementary
#382FA3 #A3722F #60A32F
monochromatic
#171444 #282173 #382FA3 #5046CA #7D75D7

Accessibility & contrast

On white

9.98
#382FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382FA3
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FA3#FFFFFF#000000##FFFFFF
##382FA31.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382fa3;
/* rgb */ color: rgb(56, 47, 163);
/* oklch */ color: oklch(39.8% 0.178 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d69bf',
    500: '#382fa3',
    950: '#000000',
  },
}
SCSS
$custom: #382fa3;
$custom-light: #7d69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#382fa3",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 244.655,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.17824,
    "h": 278
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#382FA3
secondary
#B9BF6F
accent
#DF49D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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