#382C90#382C90

#382C90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.157 H 281.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#382C90
RGBrgb(56, 44, 144)
HSLhsl(247, 53%, 37%)
HSVhsv(247, 69%, 56%)
CMYKcmyk(61.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(25.73, 35.20, -53.52)
CIE-LCHlch(25.73, 64.06, 303.33°)
OKLaboklab(37.47% 0.0302 -0.1541)
OKLCHoklch(37.47% 0.157 281.1)
XYZxyz(7.5640, 4.6552, 26.8801)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C90 #84902C
analogous
#2C5290 #382C90 #6A2C90
triadic
#382C90 #90382C #2C9038
tetradic
#382C90 #902C52 #84902C #2C906A
square
#382C90 #902C52 #84902C #2C906A
split-complementary
#382C90 #906A2C #52902C
monochromatic
#140F32 #261E61 #382C90 #4A3ABF #7366D0

Accessibility & contrast

On white

10.87
#382C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C90
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C90#FFFFFF#000000##FFFFFF
##382C901.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382c90;
/* rgb */ color: rgb(56, 44, 144);
/* oklch */ color: oklch(37.5% 0.157 281.1);
Tailwind
colors: {
  custom: {
    50: '#7966b1',
    500: '#382c90',
    950: '#000000',
  },
}
SCSS
$custom: #382c90;
$custom-light: #7966b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382c90",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 247.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37474,
    "c": 0.15709,
    "h": 281.1
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#382C90
secondary
#ACB761
accent
#DD4BCB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C90

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

Preview Lab → · Contrast checker → · Palette generator →

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