#382CBF#382CBF

#382CBF is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.215 H 275.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#382CBF
RGBrgb(56, 44, 191)
HSLhsl(245, 63%, 46%)
HSVhsv(245, 77%, 75%)
CMYKcmyk(70.7%, 77%, 0%, 25.1%)
CIE-LABlab(30.41, 50.33, -74.17)
CIE-LCHlch(30.41, 89.64, 304.16°)
OKLaboklab(42.2% 0.0208 -0.2145)
OKLCHoklch(42.2% 0.215 275.5)
XYZxyz(11.9324, 6.4026, 49.8871)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CBF #B3BF2C
analogous
#2C69BF #382CBF #812CBF
triadic
#382CBF #BF382C #2CBF38
tetradic
#382CBF #BF2C69 #B3BF2C #2CBF81
square
#382CBF #BF2C69 #B3BF2C #2CBF81
split-complementary
#382CBF #BF812C #69BF2C
monochromatic
#1B155C #29218D #382CBF #5C51D7 #8B83E2

Accessibility & contrast

On white

9.21
#382CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#382CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CBF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CBF#FFFFFF#000000##FFFFFF
##382CBF1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0041BC
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #382cbf;
/* rgb */ color: rgb(56, 44, 191);
/* oklch */ color: oklch(42.2% 0.215 275.5);
Tailwind
colors: {
  custom: {
    50: '#8368d4',
    500: '#382cbf',
    950: '#000000',
  },
}
SCSS
$custom: #382cbf;
$custom-light: #8368d4;
$custom-dark: #000000;
JSON
{
  "hex": "#382cbf",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 244.898,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.21546,
    "h": 275.5
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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