#382F76#382F76

#382F76 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.7% C 0.117 H 284.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#382F76
RGBrgb(56, 47, 118)
HSLhsl(248, 43%, 32%)
HSVhsv(248, 60%, 46%)
CMYKcmyk(52.5%, 60.2%, 0%, 53.7%)
CIE-LABlab(24.26, 24.61, -39.59)
CIE-LCHlch(24.26, 46.62, 301.87°)
OKLaboklab(35.72% 0.0294 -0.1132)
OKLCHoklch(35.72% 0.117 284.6)
XYZxyz(5.9164, 4.1815, 17.6314)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F76 #6D762F
analogous
#2F4976 #382F76 #5C2F76
triadic
#382F76 #76382F #2F7638
tetradic
#382F76 #762F49 #6D762F #2F765C
square
#382F76 #762F49 #6D762F #2F765C
split-complementary
#382F76 #765C2F #49762F
monochromatic
#0E0C1E #231E4A #382F76 #4D40A2 #6C60C0

Accessibility & contrast

On white

11.44
#382F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#382F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F76
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F76#FFFFFF#000000##FFFFFF
##382F761.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#213F4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382f76;
/* rgb */ color: rgb(56, 47, 118);
/* oklch */ color: oklch(35.7% 0.117 284.6);
Tailwind
colors: {
  custom: {
    50: '#74689e',
    500: '#382f76',
    950: '#000000',
  },
}
SCSS
$custom: #382f76;
$custom-light: #74689e;
$custom-dark: #000000;
JSON
{
  "hex": "#382f76",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 247.606,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.11699,
    "h": 284.6
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#382F76
secondary
#9DA75A
accent
#D355C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #382F76

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

Preview Lab → · Contrast checker → · Palette generator →

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