#382BA9#382BA9

#382BA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.190 H 277.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#382BA9
RGBrgb(56, 43, 169)
HSLhsl(246, 59%, 42%)
HSVhsv(246, 75%, 66%)
CMYKcmyk(66.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(27.93, 43.92, -65.15)
CIE-LCHlch(27.93, 78.57, 303.99°)
OKLaboklab(39.78% 0.0263 -0.1882)
OKLCHoklch(39.78% 0.19 277.9)
XYZxyz(9.6539, 5.4323, 38.0682)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BA9 #9CA92B
analogous
#2B5DA9 #382BA9 #772BA9
triadic
#382BA9 #A9382B #2BA938
tetradic
#382BA9 #A92B5D #9CA92B #2BA977
square
#382BA9 #A92B5D #9CA92B #2BA977
split-complementary
#382BA9 #A9772B #5DA92B
monochromatic
#181247 #281F78 #382BA9 #5142CF #7E73DB

Accessibility & contrast

On white

10.06
#382BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382BA9
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BA9#FFFFFF#000000##FFFFFF
##382BA91.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382ba9;
/* rgb */ color: rgb(56, 43, 169);
/* oklch */ color: oklch(39.8% 0.190 277.9);
Tailwind
colors: {
  custom: {
    50: '#7e67c4',
    500: '#382ba9',
    950: '#000000',
  },
}
SCSS
$custom: #382ba9;
$custom-light: #7e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382ba9",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 246.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.18999,
    "h": 277.9
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#382BA9
secondary
#BAC36D
accent
#E345D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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