#382FA9#382FA9

#382FA9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.186 H 277.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#382FA9
RGBrgb(56, 47, 169)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 66%)
CMYKcmyk(66.9%, 72.2%, 0%, 33.7%)
CIE-LABlab(28.74, 41.66, -63.82)
CIE-LCHlch(28.74, 76.22, 303.14°)
OKLaboklab(40.35% 0.0237 -0.1843)
OKLCHoklch(40.35% 0.186 277.3)
XYZxyz(9.8065, 5.7375, 38.1191)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FA9 #A0A92F
analogous
#2F63A9 #382FA9 #752FA9
triadic
#382FA9 #A9382F #2FA938
tetradic
#382FA9 #A92F63 #A0A92F #2FA975
square
#382FA9 #A92F63 #A0A92F #2FA975
split-complementary
#382FA9 #A9752F #63A92F
monochromatic
#181449 #282279 #382FA9 #5349CC #8079DA

Accessibility & contrast

On white

9.78
#382FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#382FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FA9
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FA9#FFFFFF#000000##FFFFFF
##382FA91.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382fa9;
/* rgb */ color: rgb(56, 47, 169);
/* oklch */ color: oklch(40.4% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e69c4',
    500: '#382fa9',
    950: '#000000',
  },
}
SCSS
$custom: #382fa9;
$custom-light: #7e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382fa9",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 244.426,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.18582,
    "h": 277.3
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#382FA9
secondary
#BCC272
accent
#E048D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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