#382E87#382E87

#382E87 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.142 H 282.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#382E87
RGBrgb(56, 46, 135)
HSLhsl(247, 49%, 35%)
HSVhsv(247, 66%, 53%)
CMYKcmyk(58.5%, 65.9%, 0%, 47.1%)
CIE-LABlab(25.39, 30.96, -48.48)
CIE-LCHlch(25.39, 57.52, 302.57°)
OKLaboklab(36.98% 0.0295 -0.1393)
OKLCHoklch(36.98% 0.142 282)
XYZxyz(6.9797, 4.5436, 23.4262)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E87 #7D872E
analogous
#2E5087 #382E87 #652E87
triadic
#382E87 #87382E #2E8738
tetradic
#382E87 #872E50 #7D872E #2E8765
square
#382E87 #872E50 #7D872E #2E8765
split-complementary
#382E87 #87652E #50872E
monochromatic
#120F2C #251E59 #382E87 #4B3EB5 #7065CA

Accessibility & contrast

On white

11.00
#382E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#382E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E87
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E87#FFFFFF#000000##FFFFFF
##382E871.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#0E4456
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382e87;
/* rgb */ color: rgb(56, 46, 135);
/* oklch */ color: oklch(37.0% 0.142 282.0);
Tailwind
colors: {
  custom: {
    50: '#7767ab',
    500: '#382e87',
    950: '#000000',
  },
}
SCSS
$custom: #382e87;
$custom-light: #7767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#382e87",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 246.742,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36984,
    "c": 0.14244,
    "h": 282
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#382E87
secondary
#A8B160
accent
#D94FC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382E87

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

Preview Lab → · Contrast checker → · Palette generator →

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