#382BA0#382BA0

#382BA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.179 H 279.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#382BA0
RGBrgb(56, 43, 160)
HSLhsl(247, 58%, 40%)
HSVhsv(247, 73%, 63%)
CMYKcmyk(65%, 73.1%, 0%, 37.3%)
CIE-LABlab(27.03, 41.03, -61.18)
CIE-LCHlch(27.03, 73.67, 303.84°)
OKLaboklab(38.87% 0.0282 -0.1766)
OKLCHoklch(38.87% 0.179 279.1)
XYZxyz(8.8379, 5.1059, 33.7707)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BA0 #93A02B
analogous
#2B58A0 #382BA0 #732BA0
triadic
#382BA0 #A0382B #2BA038
tetradic
#382BA0 #A02B58 #93A02B #2BA073
square
#382BA0 #A02B58 #93A02B #2BA073
split-complementary
#382BA0 #A0732B #58A02B
monochromatic
#161140 #271E70 #382BA0 #4D3DCB #796ED8

Accessibility & contrast

On white

10.39
#382BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#382BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BA0
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BA0#FFFFFF#000000##FFFFFF
##382BA01.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #382ba0;
/* rgb */ color: rgb(56, 43, 160);
/* oklch */ color: oklch(38.9% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#7c66bd',
    500: '#382ba0',
    950: '#000000',
  },
}
SCSS
$custom: #382ba0;
$custom-light: #7c66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#382ba0",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 246.667,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38871,
    "c": 0.17881,
    "h": 279.1
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#382BA0
secondary
#B5BF68
accent
#E147D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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