#382FC2#382FC2

#382FC2 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.216 H 275.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#382FC2
RGBrgb(56, 47, 194)
HSLhsl(244, 61%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(71.1%, 75.8%, 0%, 23.9%)
CIE-LABlab(31.27, 49.71, -74.51)
CIE-LCHlch(31.27, 89.57, 303.71°)
OKLaboklab(42.91% 0.0187 -0.2155)
OKLCHoklch(42.91% 0.216 275)
XYZxyz(12.3818, 6.7676, 51.6822)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FC2 #B9C22F
analogous
#2F70C2 #382FC2 #812FC2
triadic
#382FC2 #C2382F #2FC238
tetradic
#382FC2 #C22F70 #B9C22F #2FC281
square
#382FC2 #C22F70 #B9C22F #2FC281
split-complementary
#382FC2 #C2812F #70C22F
monochromatic
#1C175F #2A2391 #382FC2 #5F58D6 #8E89E2

Accessibility & contrast

On white

8.92
#382FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#382FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FC2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FC2#FFFFFF#000000##FFFFFF
##382FC21.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0043BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382fc2;
/* rgb */ color: rgb(56, 47, 194);
/* oklch */ color: oklch(42.9% 0.216 275.0);
Tailwind
colors: {
  custom: {
    50: '#836ad6',
    500: '#382fc2',
    950: '#000000',
  },
}
SCSS
$custom: #382fc2;
$custom-light: #836ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#382fc2",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 243.673,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.21627,
    "h": 275
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#382FC2
secondary
#C8CC81
accent
#E444DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #382FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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