#382EB4#382EB4

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

Color values

HEX#382EB4
RGBrgb(56, 46, 180)
HSLhsl(244, 59%, 44%)
HSVhsv(244, 74%, 71%)
CMYKcmyk(68.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(29.64, 45.79, -68.93)
CIE-LCHlch(29.64, 82.75, 303.60°)
OKLaboklab(41.32% 0.0222 -0.1992)
OKLCHoklch(41.32% 0.2 276.4)
XYZxyz(10.8434, 6.0890, 43.7750)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB4 #AAB42E
analogous
#2E67B4 #382EB4 #7B2EB4
triadic
#382EB4 #B4382E #2EB438
tetradic
#382EB4 #B42E67 #AAB42E #2EB47B
square
#382EB4 #B42E67 #AAB42E #2EB47B
split-complementary
#382EB4 #B47B2E #67B42E
monochromatic
#1A1553 #292283 #382EB4 #574ED2 #857EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##382EB4#FFFFFF#000000##FFFFFF
##382EB41.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)
#004BB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382eb4;
/* rgb */ color: rgb(56, 46, 180);
/* oklch */ color: oklch(41.3% 0.200 276.4);
Tailwind
colors: {
  custom: {
    50: '#8069cc',
    500: '#382eb4',
    950: '#000000',
  },
}
SCSS
$custom: #382eb4;
$custom-light: #8069cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb4",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 244.478,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.20043,
    "h": 276.4
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#382EB4
secondary
#C1C777
accent
#E245D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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