#382FB9#382FB9

#382FB9 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.206 H 275.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#382FB9
RGBrgb(56, 47, 185)
HSLhsl(244, 59%, 45%)
HSVhsv(244, 75%, 73%)
CMYKcmyk(69.7%, 74.6%, 0%, 27.5%)
CIE-LABlab(30.34, 46.85, -70.74)
CIE-LCHlch(30.34, 84.84, 303.52°)
OKLaboklab(41.97% 0.0206 -0.2045)
OKLCHoklch(41.97% 0.206 275.7)
XYZxyz(11.4015, 6.3755, 46.5193)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB9 #B0B92F
analogous
#2F6BB9 #382FB9 #7D2FB9
triadic
#382FB9 #B9382F #2FB938
tetradic
#382FB9 #B92F6B #B0B92F #2FB97D
square
#382FB9 #B92F6B #B0B92F #2FB97D
split-complementary
#382FB9 #B97D2F #6BB92F
monochromatic
#1A1657 #292388 #382FB9 #5B52D3 #8983DF

Accessibility & contrast

On white

9.23
#382FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#382FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB9
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB9#FFFFFF#000000##FFFFFF
##382FB91.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382fb9;
/* rgb */ color: rgb(56, 47, 185);
/* oklch */ color: oklch(42.0% 0.206 275.7);
Tailwind
colors: {
  custom: {
    50: '#816acf',
    500: '#382fb9',
    950: '#000000',
  },
}
SCSS
$custom: #382fb9;
$custom-light: #816acf;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb9",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 243.913,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4197,
    "c": 0.20551,
    "h": 275.7
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#382FB9
secondary
#C4C97B
accent
#E345D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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