#382BA8#382BA8

#382BA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.189 H 278.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#382BA8
RGBrgb(56, 43, 168)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 74%, 66%)
CMYKcmyk(66.7%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.83, 43.60, -64.71)
CIE-LCHlch(27.83, 78.03, 303.97°)
OKLaboklab(39.68% 0.0265 -0.1869)
OKLCHoklch(39.68% 0.189 278.1)
XYZxyz(9.5604, 5.3949, 37.5757)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BA8 #9BA82B
analogous
#2B5DA8 #382BA8 #772BA8
triadic
#382BA8 #A8382B #2BA838
tetradic
#382BA8 #A82B5D #9BA82B #2BA877
square
#382BA8 #A82B5D #9BA82B #2BA877
split-complementary
#382BA8 #A8772B #5DA82B
monochromatic
#181247 #281F77 #382BA8 #5042CF #7D72DB

Accessibility & contrast

On white

10.10
#382BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#382BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BA8
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BA8#FFFFFF#000000##FFFFFF
##382BA81.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382ba8;
/* rgb */ color: rgb(56, 43, 168);
/* oklch */ color: oklch(39.7% 0.189 278.1);
Tailwind
colors: {
  custom: {
    50: '#7e67c3',
    500: '#382ba8',
    950: '#000000',
  },
}
SCSS
$custom: #382ba8;
$custom-light: #7e67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#382ba8",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 246.24,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.18876,
    "h": 278.1
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#382BA8
secondary
#B9C26C
accent
#E245D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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