#382E89#382E89

#382E89 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.145 H 281.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#382E89
RGBrgb(56, 46, 137)
HSLhsl(247, 50%, 36%)
HSVhsv(247, 66%, 54%)
CMYKcmyk(59.1%, 66.4%, 0%, 46.3%)
CIE-LABlab(25.56, 31.63, -49.44)
CIE-LCHlch(25.56, 58.70, 302.61°)
OKLaboklab(37.16% 0.0293 -0.1422)
OKLCHoklch(37.16% 0.145 281.7)
XYZxyz(7.1218, 4.6004, 24.1747)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E89 #7F892E
analogous
#2E5189 #382E89 #652E89
triadic
#382E89 #89382E #2E8938
tetradic
#382E89 #892E51 #7F892E #2E8965
square
#382E89 #892E51 #7F892E #2E8965
split-complementary
#382E89 #89652E #51892E
monochromatic
#130F2D #251F5B #382E89 #4B3DB7 #7166CC

Accessibility & contrast

On white

10.94
#382E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#382E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E89
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E89#FFFFFF#000000##FFFFFF
##382E891.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#094557
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382e89;
/* rgb */ color: rgb(56, 46, 137);
/* oklch */ color: oklch(37.2% 0.145 281.7);
Tailwind
colors: {
  custom: {
    50: '#7867ac',
    500: '#382e89',
    950: '#000000',
  },
}
SCSS
$custom: #382e89;
$custom-light: #7867ac;
$custom-dark: #000000;
JSON
{
  "hex": "#382e89",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 246.593,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.14518,
    "h": 281.7
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#382E89
secondary
#A9B260
accent
#D94FCA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382E89

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

Preview Lab → · Contrast checker → · Palette generator →

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