#382CC3#382CC3

#382CC3 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.220 H 275.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#382CC3
RGBrgb(56, 44, 195)
HSLhsl(245, 63%, 47%)
HSVhsv(245, 77%, 76%)
CMYKcmyk(71.3%, 77.4%, 0%, 23.5%)
CIE-LABlab(30.83, 51.57, -75.82)
CIE-LCHlch(30.83, 91.70, 304.22°)
OKLaboklab(42.63% 0.0199 -0.2192)
OKLCHoklch(42.63% 0.22 275.2)
XYZxyz(12.3786, 6.5811, 52.2371)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CC3 #B7C32C
analogous
#2C6CC3 #382CC3 #842CC3
triadic
#382CC3 #C3382C #2CC338
tetradic
#382CC3 #C32C6C #B7C32C #2CC384
square
#382CC3 #C32C6C #B7C32C #2CC384
split-complementary
#382CC3 #C3842C #6CC32C
monochromatic
#1B155F #2A2191 #382CC3 #5E54D8 #8D86E4

Accessibility & contrast

On white

9.07
#382CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#382CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CC3
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CC3#FFFFFF#000000##FFFFFF
##382CC31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #382cc3;
/* rgb */ color: rgb(56, 44, 195);
/* oklch */ color: oklch(42.6% 0.220 275.2);
Tailwind
colors: {
  custom: {
    50: '#8469d7',
    500: '#382cc3',
    950: '#000000',
  },
}
SCSS
$custom: #382cc3;
$custom-light: #8469d7;
$custom-dark: #000000;
JSON
{
  "hex": "#382cc3",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 244.768,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.22015,
    "h": 275.2
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#382CC3
secondary
#C7CD7E
accent
#E642D9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #382CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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