#382CC0#382CC0

#382CC0 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.3% C 0.217 H 275.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#382CC0
RGBrgb(56, 44, 192)
HSLhsl(245, 63%, 46%)
HSVhsv(245, 77%, 75%)
CMYKcmyk(70.8%, 77.1%, 0%, 24.7%)
CIE-LABlab(30.51, 50.65, -74.59)
CIE-LCHlch(30.51, 90.16, 304.18°)
OKLaboklab(42.31% 0.0206 -0.2157)
OKLCHoklch(42.31% 0.217 275.4)
XYZxyz(12.0429, 6.4467, 50.4686)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CC0 #B4C02C
analogous
#2C6AC0 #382CC0 #822CC0
triadic
#382CC0 #C0382C #2CC038
tetradic
#382CC0 #C02C6A #B4C02C #2CC082
square
#382CC0 #C02C6A #B4C02C #2CC082
split-complementary
#382CC0 #C0822C #6AC02C
monochromatic
#1B155C #29218E #382CC0 #5D52D7 #8B84E3

Accessibility & contrast

On white

9.17
#382CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#382CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CC0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CC0#FFFFFF#000000##FFFFFF
##382CC01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#0041BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #382cc0;
/* rgb */ color: rgb(56, 44, 192);
/* oklch */ color: oklch(42.3% 0.217 275.4);
Tailwind
colors: {
  custom: {
    50: '#8368d4',
    500: '#382cc0',
    950: '#000000',
  },
}
SCSS
$custom: #382cc0;
$custom-light: #8368d4;
$custom-dark: #000000;
JSON
{
  "hex": "#382cc0",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 244.865,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.21664,
    "h": 275.4
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#382CC0
secondary
#C5CC7C
accent
#E642D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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