#382F79#382F79

#382F79 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.121 H 284.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#382F79
RGBrgb(56, 47, 121)
HSLhsl(247, 44%, 33%)
HSVhsv(247, 61%, 47%)
CMYKcmyk(53.7%, 61.2%, 0%, 52.5%)
CIE-LABlab(24.49, 25.62, -41.13)
CIE-LCHlch(24.49, 48.45, 301.92°)
OKLaboklab(35.97% 0.0294 -0.1177)
OKLCHoklch(35.97% 0.121 284)
XYZxyz(6.0976, 4.2539, 18.5852)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F79 #70792F
analogous
#2F4B79 #382F79 #5D2F79
triadic
#382F79 #79382F #2F7938
tetradic
#382F79 #792F4B #70792F #2F795D
square
#382F79 #792F4B #70792F #2F795D
split-complementary
#382F79 #795D2F #4B792F
monochromatic
#0F0D21 #241E4D #382F79 #4C40A5 #6D61C2

Accessibility & contrast

On white

11.35
#382F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#382F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F79
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F79#FFFFFF#000000##FFFFFF
##382F791.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#1E404F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382f79;
/* rgb */ color: rgb(56, 47, 121);
/* oklch */ color: oklch(36.0% 0.121 284.0);
Tailwind
colors: {
  custom: {
    50: '#7568a0',
    500: '#382f79',
    950: '#000000',
  },
}
SCSS
$custom: #382f79;
$custom-light: #7568a0;
$custom-dark: #000000;
JSON
{
  "hex": "#382f79",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 247.297,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.12135,
    "h": 284
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#382F79
secondary
#9FA85B
accent
#D454C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #382F79

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

Preview Lab → · Contrast checker → · Palette generator →

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