#382695#382695

#382695 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.170 H 281.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#382695
RGBrgb(56, 38, 149)
HSLhsl(250, 59%, 37%)
HSVhsv(250, 74%, 58%)
CMYKcmyk(62.4%, 74.5%, 0%, 41.6%)
CIE-LABlab(24.94, 40.32, -57.90)
CIE-LCHlch(24.94, 70.55, 304.85°)
OKLaboklab(37.06% 0.0341 -0.1669)
OKLCHoklch(37.06% 0.17 281.5)
XYZxyz(7.7471, 4.3963, 28.8683)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382695 #839526
analogous
#264C95 #382695 #702695
triadic
#382695 #953826 #269538
tetradic
#382695 #95264C #839526 #269570
square
#382695 #95264C #839526 #269570
split-complementary
#382695 #957026 #4C9526
monochromatic
#130D33 #261A64 #382695 #4A32C6 #725FD6

Accessibility & contrast

On white

11.17
#382695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#382695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382695
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382695#FFFFFF#000000##FFFFFF
##3826951.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382695;
/* rgb */ color: rgb(56, 38, 149);
/* oklch */ color: oklch(37.1% 0.170 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b63b5',
    500: '#382695',
    950: '#000000',
  },
}
SCSS
$custom: #382695;
$custom-light: #7b63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382695",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 249.73,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37056,
    "c": 0.17039,
    "h": 281.5
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#382695
secondary
#ACBB5B
accent
#E345C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382695

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

Preview Lab → · Contrast checker → · Palette generator →

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