#382FC4#382FC4

#382FC4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.219 H 274.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#382FC4
RGBrgb(56, 47, 196)
HSLhsl(244, 61%, 48%)
HSVhsv(244, 76%, 77%)
CMYKcmyk(71.4%, 76%, 0%, 23.1%)
CIE-LABlab(31.48, 50.34, -75.34)
CIE-LCHlch(31.48, 90.60, 303.75°)
OKLaboklab(43.11% 0.0183 -0.2179)
OKLCHoklch(43.11% 0.219 274.8)
XYZxyz(12.6079, 6.8581, 52.8731)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FC4 #BBC42F
analogous
#2F71C4 #382FC4 #822FC4
triadic
#382FC4 #C4382F #2FC438
tetradic
#382FC4 #C42F71 #BBC42F #2FC482
square
#382FC4 #C42F71 #BBC42F #2FC482
split-complementary
#382FC4 #C4822F #71C42F
monochromatic
#1C1761 #2A2393 #382FC4 #6159D7 #908AE3

Accessibility & contrast

On white

8.85
#382FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#382FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FC4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FC4#FFFFFF#000000##FFFFFF
##382FC41.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0043C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382fc4;
/* rgb */ color: rgb(56, 47, 196);
/* oklch */ color: oklch(43.1% 0.219 274.8);
Tailwind
colors: {
  custom: {
    50: '#846ad7',
    500: '#382fc4',
    950: '#000000',
  },
}
SCSS
$custom: #382fc4;
$custom-light: #846ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#382fc4",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 243.624,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43115,
    "c": 0.21863,
    "h": 274.8
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#382FC4
secondary
#C8CD82
accent
#E443DB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #382FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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