#382F78#382F78

#382F78 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.9% C 0.120 H 284.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#382F78
RGBrgb(56, 47, 120)
HSLhsl(247, 44%, 33%)
HSVhsv(247, 61%, 47%)
CMYKcmyk(53.3%, 60.8%, 0%, 52.9%)
CIE-LABlab(24.42, 25.28, -40.62)
CIE-LCHlch(24.42, 47.84, 301.90°)
OKLaboklab(35.89% 0.0294 -0.1162)
OKLCHoklch(35.89% 0.12 284.2)
XYZxyz(6.0365, 4.2295, 18.2640)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F78 #6F782F
analogous
#2F4B78 #382F78 #5C2F78
triadic
#382F78 #78382F #2F7838
tetradic
#382F78 #782F4B #6F782F #2F785C
square
#382F78 #782F4B #6F782F #2F785C
split-complementary
#382F78 #785C2F #4B782F
monochromatic
#0F0D20 #231E4C #382F78 #4D40A4 #6C60C1

Accessibility & contrast

On white

11.38
#382F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382F78
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F78#FFFFFF#000000##FFFFFF
##382F781.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#1F404E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382f78;
/* rgb */ color: rgb(56, 47, 120);
/* oklch */ color: oklch(35.9% 0.120 284.2);
Tailwind
colors: {
  custom: {
    50: '#7468a0',
    500: '#382f78',
    950: '#000000',
  },
}
SCSS
$custom: #382f78;
$custom-light: #7468a0;
$custom-dark: #000000;
JSON
{
  "hex": "#382f78",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 247.397,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.1199,
    "h": 284.2
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#382F78
secondary
#9EA85B
accent
#D354C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #382F78

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

Preview Lab → · Contrast checker → · Palette generator →

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