#382BAC#382BAC

#382BAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.194 H 277.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#382BAC
RGBrgb(56, 43, 172)
HSLhsl(246, 60%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(67.4%, 75%, 0%, 32.5%)
CIE-LABlab(28.24, 44.88, -66.45)
CIE-LCHlch(28.24, 80.19, 304.03°)
OKLaboklab(40.09% 0.0256 -0.192)
OKLCHoklch(40.09% 0.194 277.6)
XYZxyz(9.9387, 5.5462, 39.5685)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BAC #9FAC2B
analogous
#2B5EAC #382BAC #792BAC
triadic
#382BAC #AC382B #2BAC38
tetradic
#382BAC #AC2B5E #9FAC2B #2BAC79
square
#382BAC #AC2B5E #9FAC2B #2BAC79
split-complementary
#382BAC #AC792B #5EAC2B
monochromatic
#18134A #281F7B #382BAC #5244D0 #7F75DC

Accessibility & contrast

On white

9.96
#382BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#382BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BAC
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BAC#FFFFFF#000000##FFFFFF
##382BAC1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382bac;
/* rgb */ color: rgb(56, 43, 172);
/* oklch */ color: oklch(40.1% 0.194 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f67c6',
    500: '#382bac',
    950: '#000000',
  },
}
SCSS
$custom: #382bac;
$custom-light: #7f67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#382bac",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 246.047,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.19366,
    "h": 277.6
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#382BAC
secondary
#BBC46F
accent
#E345D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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