#382DBC#382DBC

#382DBC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.211 H 275.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#382DBC
RGBrgb(56, 45, 188)
HSLhsl(245, 61%, 46%)
HSVhsv(245, 76%, 74%)
CMYKcmyk(70.2%, 76.1%, 0%, 26.3%)
CIE-LABlab(30.27, 48.87, -72.62)
CIE-LCHlch(30.27, 87.54, 303.94°)
OKLaboklab(42.01% 0.021 -0.21)
OKLCHoklch(42.01% 0.211 275.7)
XYZxyz(11.6434, 6.3473, 48.1787)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DBC #B1BC2D
analogous
#2D6ABC #382DBC #7F2DBC
triadic
#382DBC #BC382D #2DBC38
tetradic
#382DBC #BC2D6A #B1BC2D #2DBC7F
square
#382DBC #BC2D6A #B1BC2D #2DBC7F
split-complementary
#382DBC #BC7F2D #6ABC2D
monochromatic
#1B1559 #29218B #382DBC #5B51D5 #8A82E1

Accessibility & contrast

On white

9.25
#382DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#382DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DBC
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DBC#FFFFFF#000000##FFFFFF
##382DBC1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382dbc;
/* rgb */ color: rgb(56, 45, 188);
/* oklch */ color: oklch(42.0% 0.211 275.7);
Tailwind
colors: {
  custom: {
    50: '#8269d2',
    500: '#382dbc',
    950: '#000000',
  },
}
SCSS
$custom: #382dbc;
$custom-light: #8269d2;
$custom-dark: #000000;
JSON
{
  "hex": "#382dbc",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 244.615,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.21101,
    "h": 275.7
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#382DBC
secondary
#C4CA7B
accent
#E443D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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