#382E9F#382E9F

#382E9F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.174 H 278.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#382E9F
RGBrgb(56, 46, 159)
HSLhsl(245, 55%, 40%)
HSVhsv(245, 71%, 62%)
CMYKcmyk(64.8%, 71.1%, 0%, 37.6%)
CIE-LABlab(27.57, 38.96, -59.70)
CIE-LCHlch(27.57, 71.29, 303.13°)
OKLaboklab(39.22% 0.0262 -0.1723)
OKLCHoklch(39.22% 0.174 278.6)
XYZxyz(8.8639, 5.2972, 33.3495)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E9F #959F2E
analogous
#2E5C9F #382E9F #712E9F
triadic
#382E9F #9F382E #2E9F38
tetradic
#382E9F #9F2E5C #959F2E #2E9F71
square
#382E9F #9F2E5C #959F2E #2E9F71
split-complementary
#382E9F #9F712E #5C9F2E
monochromatic
#171340 #272070 #382E9F #4E42C8 #7A71D6

Accessibility & contrast

On white

10.20
#382E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#382E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E9F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E9F#FFFFFF#000000##FFFFFF
##382E9F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382e9f;
/* rgb */ color: rgb(56, 46, 159);
/* oklch */ color: oklch(39.2% 0.174 278.6);
Tailwind
colors: {
  custom: {
    50: '#7c68bc',
    500: '#382e9f',
    950: '#000000',
  },
}
SCSS
$custom: #382e9f;
$custom-light: #7c68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#382e9f",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 245.31,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39221,
    "c": 0.17425,
    "h": 278.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#382E9F
secondary
#B6BE6B
accent
#DE49D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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