#382795#382795

#382795 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.169 H 281.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#382795
RGBrgb(56, 39, 149)
HSLhsl(249, 59%, 37%)
HSVhsv(249, 74%, 58%)
CMYKcmyk(62.4%, 73.8%, 0%, 41.6%)
CIE-LABlab(25.14, 39.76, -57.57)
CIE-LCHlch(25.14, 69.96, 304.63°)
OKLaboklab(37.2% 0.0333 -0.166)
OKLCHoklch(37.2% 0.169 281.4)
XYZxyz(7.7795, 4.4612, 28.8791)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382795 #849527
analogous
#274D95 #382795 #6F2795
triadic
#382795 #953827 #279538
tetradic
#382795 #95274D #849527 #27956F
square
#382795 #95274D #849527 #27956F
split-complementary
#382795 #956F27 #4D9527
monochromatic
#140E34 #261A64 #382795 #4A34C6 #7361D6

Accessibility & contrast

On white

11.10
#382795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#382795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382795
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382795#FFFFFF#000000##FFFFFF
##3827951.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382795;
/* rgb */ color: rgb(56, 39, 149);
/* oklch */ color: oklch(37.2% 0.169 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a63b5',
    500: '#382795',
    950: '#000000',
  },
}
SCSS
$custom: #382795;
$custom-light: #7a63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382795",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 249.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37198,
    "c": 0.1693,
    "h": 281.4
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#382795
secondary
#ACBB5D
accent
#E246CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382795

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

Preview Lab → · Contrast checker → · Palette generator →

#382795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva