#382EB2#382EB2

#382EB2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.198 H 276.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#382EB2
RGBrgb(56, 46, 178)
HSLhsl(245, 59%, 44%)
HSVhsv(245, 74%, 70%)
CMYKcmyk(68.5%, 74.2%, 0%, 30.2%)
CIE-LABlab(29.43, 45.15, -68.07)
CIE-LCHlch(29.43, 81.68, 303.56°)
OKLaboklab(41.12% 0.0226 -0.1967)
OKLCHoklch(41.12% 0.198 276.5)
XYZxyz(10.6411, 6.0081, 42.7098)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB2 #A8B22E
analogous
#2E66B2 #382EB2 #7A2EB2
triadic
#382EB2 #B2382E #2EB238
tetradic
#382EB2 #B22E66 #A8B22E #2EB27A
square
#382EB2 #B22E66 #A8B22E #2EB27A
split-complementary
#382EB2 #B27A2E #66B22E
monochromatic
#191551 #292181 #382EB2 #564CD1 #847DDD

Accessibility & contrast

On white

9.54
#382EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#382EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EB2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EB2#FFFFFF#000000##FFFFFF
##382EB21.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382eb2;
/* rgb */ color: rgb(56, 46, 178);
/* oklch */ color: oklch(41.1% 0.198 276.5);
Tailwind
colors: {
  custom: {
    50: '#8069ca',
    500: '#382eb2',
    950: '#000000',
  },
}
SCSS
$custom: #382eb2;
$custom-light: #8069ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb2",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 244.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.198,
    "h": 276.5
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#382EB2
secondary
#C0C676
accent
#E246D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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