#382995#382995

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

Color values

HEX#382995
RGBrgb(56, 41, 149)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 72%, 58%)
CMYKcmyk(62.4%, 72.5%, 0%, 41.6%)
CIE-LABlab(25.55, 38.62, -56.89)
CIE-LCHlch(25.55, 68.76, 304.17°)
OKLaboklab(37.49% 0.0318 -0.164)
OKLCHoklch(37.49% 0.167 281)
XYZxyz(7.8469, 4.5960, 28.9016)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382995 #869529
analogous
#295095 #382995 #6E2995
triadic
#382995 #953829 #299538
tetradic
#382995 #952950 #869529 #29956E
square
#382995 #952950 #869529 #29956E
split-complementary
#382995 #956E29 #509529
monochromatic
#140F35 #261C65 #382995 #4A36C5 #7464D4

Accessibility & contrast

On white

10.94
#382995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382995
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382995#FFFFFF#000000##FFFFFF
##3829951.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382995;
/* rgb */ color: rgb(56, 41, 149);
/* oklch */ color: oklch(37.5% 0.167 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a64b5',
    500: '#382995',
    950: '#000000',
  },
}
SCSS
$custom: #382995;
$custom-light: #7a64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382995",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 248.333,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.16709,
    "h": 281
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#382995
secondary
#AEBA60
accent
#E048CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382995

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

Preview Lab → · Contrast checker → · Palette generator →

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