#382CB0#382CB0

#382CB0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.198 H 277.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#382CB0
RGBrgb(56, 44, 176)
HSLhsl(245, 60%, 43%)
HSVhsv(245, 75%, 69%)
CMYKcmyk(68.2%, 75%, 0%, 31%)
CIE-LABlab(28.84, 45.61, -67.86)
CIE-LCHlch(28.84, 81.76, 303.91°)
OKLaboklab(40.63% 0.0242 -0.1961)
OKLCHoklch(40.63% 0.198 277)
XYZxyz(10.3655, 5.7758, 41.6345)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB0 #A4B02C
analogous
#2C62B0 #382CB0 #7A2CB0
triadic
#382CB0 #B0382C #2CB038
tetradic
#382CB0 #B02C62 #A4B02C #2CB07A
square
#382CB0 #B02C62 #A4B02C #2CB07A
split-complementary
#382CB0 #B07A2C #62B02C
monochromatic
#19144E #28207F #382CB0 #5448D1 #8279DD

Accessibility & contrast

On white

9.74
#382CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#382CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB0
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB0#FFFFFF#000000##FFFFFF
##382CB01.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382cb0;
/* rgb */ color: rgb(56, 44, 176);
/* oklch */ color: oklch(40.6% 0.198 277.0);
Tailwind
colors: {
  custom: {
    50: '#8068c9',
    500: '#382cb0',
    950: '#000000',
  },
}
SCSS
$custom: #382cb0;
$custom-light: #8068c9;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb0",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 245.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.19754,
    "h": 277
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#382CB0
secondary
#BEC672
accent
#E345D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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