#382BCC#382BCC

#382BCC is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.5% C 0.231 H 274.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#382BCC
RGBrgb(56, 43, 204)
HSLhsl(245, 65%, 48%)
HSVhsv(245, 79%, 80%)
CMYKcmyk(72.5%, 78.9%, 0%, 20%)
CIE-LABlab(31.64, 54.82, -79.75)
CIE-LCHlch(31.64, 96.78, 304.51°)
OKLaboklab(43.48% 0.0181 -0.2307)
OKLCHoklch(43.48% 0.231 274.5)
XYZxyz(13.3902, 6.9268, 57.7464)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BCC #BFCC2B
analogous
#2B6ECC #382BCC #882BCC
triadic
#382BCC #CC382B #2BCC38
tetradic
#382BCC #CC2B6E #BFCC2B #2BCC88
square
#382BCC #CC2B6E #BFCC2B #2BCC88
split-complementary
#382BCC #CC882B #6ECC2B
monochromatic
#1C1667 #2A2099 #382BCC #6358DC #928BE7

Accessibility & contrast

On white

8.80
#382BCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#382BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BCC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BCC#FFFFFF#000000##FFFFFF
##382BCC1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D0
Deuteranopia (green-blind)
#0043C9
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382bcc;
/* rgb */ color: rgb(56, 43, 204);
/* oklch */ color: oklch(43.5% 0.231 274.5);
Tailwind
colors: {
  custom: {
    50: '#8668dd',
    500: '#382bcc',
    950: '#000000',
  },
}
SCSS
$custom: #382bcc;
$custom-light: #8668dd;
$custom-dark: #000000;
JSON
{
  "hex": "#382bcc",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 244.845,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.23137,
    "h": 274.5
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#382BCC
secondary
#CAD082
accent
#E840DB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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