#382BB8#382BB8

#382BB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.208 H 276.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#382BB8
RGBrgb(56, 43, 184)
HSLhsl(246, 62%, 45%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(69.6%, 76.6%, 0%, 27.8%)
CIE-LABlab(29.48, 48.67, -71.56)
CIE-LCHlch(29.48, 86.54, 304.22°)
OKLaboklab(41.34% 0.0229 -0.2068)
OKLCHoklch(41.34% 0.208 276.3)
XYZxyz(11.1437, 6.0282, 45.9144)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB8 #ABB82B
analogous
#2B65B8 #382BB8 #7F2BB8
triadic
#382BB8 #B8382B #2BB838
tetradic
#382BB8 #B82B65 #ABB82B #2BB87F
square
#382BB8 #B82B65 #ABB82B #2BB87F
split-complementary
#382BB8 #B87F2B #65B82B
monochromatic
#1A1455 #291F86 #382BB8 #584BD5 #867DE1

Accessibility & contrast

On white

9.52
#382BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#382BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BB8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB8#FFFFFF#000000##FFFFFF
##382BB81.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382bb8;
/* rgb */ color: rgb(56, 43, 184);
/* oklch */ color: oklch(41.3% 0.208 276.3);
Tailwind
colors: {
  custom: {
    50: '#8167cf',
    500: '#382bb8',
    950: '#000000',
  },
}
SCSS
$custom: #382bb8;
$custom-light: #8167cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb8",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 245.532,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.2081,
    "h": 276.3
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#382BB8
secondary
#C1C976
accent
#E543D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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