#382FB4#382FB4

#382FB4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.199 H 276.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#382FB4
RGBrgb(56, 47, 180)
HSLhsl(244, 59%, 45%)
HSVhsv(244, 74%, 71%)
CMYKcmyk(68.9%, 73.9%, 0%, 29.4%)
CIE-LABlab(29.83, 45.24, -68.60)
CIE-LCHlch(29.83, 82.18, 303.40°)
OKLaboklab(41.46% 0.0216 -0.1983)
OKLCHoklch(41.46% 0.199 276.2)
XYZxyz(10.8829, 6.1681, 43.7882)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB4 #ABB42F
analogous
#2F69B4 #382FB4 #7B2FB4
triadic
#382FB4 #B4382F #2FB438
tetradic
#382FB4 #B42F69 #ABB42F #2FB47B
square
#382FB4 #B42F69 #ABB42F #2FB47B
split-complementary
#382FB4 #B47B2F #69B42F
monochromatic
#1A1653 #292283 #382FB4 #584FD1 #8680DE

Accessibility & contrast

On white

9.40
#382FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#382FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB4
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB4#FFFFFF#000000##FFFFFF
##382FB41.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382fb4;
/* rgb */ color: rgb(56, 47, 180);
/* oklch */ color: oklch(41.5% 0.199 276.2);
Tailwind
colors: {
  custom: {
    50: '#806acc',
    500: '#382fb4',
    950: '#000000',
  },
}
SCSS
$custom: #382fb4;
$custom-light: #806acc;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb4",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 244.06,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.19944,
    "h": 276.2
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#382FB4
secondary
#C1C778
accent
#E246D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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