#382FB7#382FB7

#382FB7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.203 H 275.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#382FB7
RGBrgb(56, 47, 183)
HSLhsl(244, 59%, 45%)
HSVhsv(244, 74%, 72%)
CMYKcmyk(69.4%, 74.3%, 0%, 28.2%)
CIE-LABlab(30.14, 46.21, -69.89)
CIE-LCHlch(30.14, 83.78, 303.47°)
OKLaboklab(41.77% 0.021 -0.202)
OKLCHoklch(41.77% 0.203 275.9)
XYZxyz(11.1918, 6.2916, 45.4152)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB7 #AEB72F
analogous
#2F6AB7 #382FB7 #7C2FB7
triadic
#382FB7 #B7382F #2FB738
tetradic
#382FB7 #B72F6A #AEB72F #2FB77C
square
#382FB7 #B72F6A #AEB72F #2FB77C
split-complementary
#382FB7 #B77C2F #6AB72F
monochromatic
#1A1656 #292286 #382FB7 #5951D2 #8882DF

Accessibility & contrast

On white

9.30
#382FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#382FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB7
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB7#FFFFFF#000000##FFFFFF
##382FB71.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382fb7;
/* rgb */ color: rgb(56, 47, 183);
/* oklch */ color: oklch(41.8% 0.203 275.9);
Tailwind
colors: {
  custom: {
    50: '#816ace',
    500: '#382fb7',
    950: '#000000',
  },
}
SCSS
$custom: #382fb7;
$custom-light: #816ace;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb7",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 243.971,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.20309,
    "h": 275.9
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#382FB7
secondary
#C3C87A
accent
#E245D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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