#382897#382897

#382897 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.171 H 280.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#382897
RGBrgb(56, 40, 151)
HSLhsl(249, 58%, 37%)
HSVhsv(249, 74%, 59%)
CMYKcmyk(62.9%, 73.5%, 0%, 40.8%)
CIE-LABlab(25.54, 39.83, -58.14)
CIE-LCHlch(25.54, 70.48, 304.42°)
OKLaboklab(37.54% 0.0322 -0.1677)
OKLCHoklch(37.54% 0.171 280.9)
XYZxyz(7.9738, 4.5921, 29.7383)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382897 #879728
analogous
#284F97 #382897 #702897
triadic
#382897 #973828 #289738
tetradic
#382897 #97284F #879728 #289770
square
#382897 #97284F #879728 #289770
split-complementary
#382897 #977028 #4F9728
monochromatic
#140E36 #261B67 #382897 #4A35C7 #7464D6

Accessibility & contrast

On white

10.95
#382897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#382897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382897
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382897#FFFFFF#000000##FFFFFF
##3828971.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382897;
/* rgb */ color: rgb(56, 40, 151);
/* oklch */ color: oklch(37.5% 0.171 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b64b7',
    500: '#382897',
    950: '#000000',
  },
}
SCSS
$custom: #382897;
$custom-light: #7b64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#382897",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 248.649,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37541,
    "c": 0.17074,
    "h": 280.9
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#382897
secondary
#AEBC5F
accent
#E146CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382897

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

Preview Lab → · Contrast checker → · Palette generator →

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