#382697#382697

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

Color values

HEX#382697
RGBrgb(56, 38, 151)
HSLhsl(250, 60%, 37%)
HSVhsv(250, 75%, 59%)
CMYKcmyk(62.9%, 74.8%, 0%, 40.8%)
CIE-LABlab(25.14, 40.95, -58.80)
CIE-LCHlch(25.14, 71.66, 304.86°)
OKLaboklab(37.26% 0.0336 -0.1696)
OKLCHoklch(37.26% 0.173 281.2)
XYZxyz(7.9082, 4.4608, 29.7164)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382697 #859726
analogous
#264C97 #382697 #712697
triadic
#382697 #973826 #269738
tetradic
#382697 #97264C #859726 #269771
square
#382697 #97264C #859726 #269771
split-complementary
#382697 #977126 #4C9726
monochromatic
#140D35 #261A66 #382697 #4A32C8 #7360D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##382697#FFFFFF#000000##FFFFFF
##3826971.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)
#003F9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382697;
/* rgb */ color: rgb(56, 38, 151);
/* oklch */ color: oklch(37.3% 0.173 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b63b7',
    500: '#382697',
    950: '#000000',
  },
}
SCSS
$custom: #382697;
$custom-light: #7b63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#382697",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 249.558,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37258,
    "c": 0.17289,
    "h": 281.2
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#382697
secondary
#ADBC5C
accent
#E345CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382697

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

Preview Lab → · Contrast checker → · Palette generator →

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