#382FB2#382FB2

#382FB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.197 H 276.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#382FB2
RGBrgb(56, 47, 178)
HSLhsl(244, 58%, 44%)
HSVhsv(244, 74%, 70%)
CMYKcmyk(68.5%, 73.6%, 0%, 30.2%)
CIE-LABlab(29.63, 44.59, -67.74)
CIE-LCHlch(29.63, 81.10, 303.36°)
OKLaboklab(41.26% 0.022 -0.1958)
OKLCHoklch(41.26% 0.197 276.4)
XYZxyz(10.6807, 6.0872, 42.7229)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB2 #A9B22F
analogous
#2F68B2 #382FB2 #7A2FB2
triadic
#382FB2 #B2382F #2FB238
tetradic
#382FB2 #B22F68 #A9B22F #2FB27A
square
#382FB2 #B22F68 #A9B22F #2FB27A
split-complementary
#382FB2 #B27A2F #68B22F
monochromatic
#1A1551 #292282 #382FB2 #574ED0 #857EDD

Accessibility & contrast

On white

9.47
#382FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#382FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB2#FFFFFF#000000##FFFFFF
##382FB21.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382fb2;
/* rgb */ color: rgb(56, 47, 178);
/* oklch */ color: oklch(41.3% 0.197 276.4);
Tailwind
colors: {
  custom: {
    50: '#8069ca',
    500: '#382fb2',
    950: '#000000',
  },
}
SCSS
$custom: #382fb2;
$custom-light: #8069ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb2",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 244.122,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.19699,
    "h": 276.4
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#382FB2
secondary
#C0C677
accent
#E146D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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