#382BAA#382BAA

#382BAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.191 H 277.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#382BAA
RGBrgb(56, 43, 170)
HSLhsl(246, 60%, 42%)
HSVhsv(246, 75%, 67%)
CMYKcmyk(67.1%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.03, 44.24, -65.58)
CIE-LCHlch(28.03, 79.11, 304.00°)
OKLaboklab(39.88% 0.0261 -0.1894)
OKLCHoklch(39.88% 0.191 277.8)
XYZxyz(9.7481, 5.4700, 38.5645)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BAA #9DAA2B
analogous
#2B5EAA #382BAA #782BAA
triadic
#382BAA #AA382B #2BAA38
tetradic
#382BAA #AA2B5E #9DAA2B #2BAA78
square
#382BAA #AA2B5E #9DAA2B #2BAA78
split-complementary
#382BAA #AA782B #5EAA2B
monochromatic
#181248 #281F79 #382BAA #5143CF #7E74DC

Accessibility & contrast

On white

10.03
#382BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#382BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BAA
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BAA#FFFFFF#000000##FFFFFF
##382BAA1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382baa;
/* rgb */ color: rgb(56, 43, 170);
/* oklch */ color: oklch(39.9% 0.191 277.8);
Tailwind
colors: {
  custom: {
    50: '#7e67c4',
    500: '#382baa',
    950: '#000000',
  },
}
SCSS
$custom: #382baa;
$custom-light: #7e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382baa",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 246.142,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.19121,
    "h": 277.8
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#382BAA
secondary
#BAC36E
accent
#E345D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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