#382F95#382F95

#382F95 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.160 H 279.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#382F95
RGBrgb(56, 47, 149)
HSLhsl(245, 52%, 38%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(62.4%, 68.5%, 0%, 41.6%)
CIE-LABlab(26.86, 35.04, -54.75)
CIE-LCHlch(26.86, 65.00, 302.61°)
OKLaboklab(38.43% 0.027 -0.1578)
OKLCHoklch(38.43% 0.16 279.7)
XYZxyz(8.0705, 5.0431, 28.9761)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F95 #8C952F
analogous
#2F5995 #382F95 #6B2F95
triadic
#382F95 #95382F #2F9538
tetradic
#382F95 #952F59 #8C952F #2F956B
square
#382F95 #952F59 #8C952F #2F956B
split-complementary
#382F95 #956B2F #59952F
monochromatic
#151238 #272066 #382F95 #4A3FC2 #766DD1

Accessibility & contrast

On white

10.45
#382F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#382F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F95
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F95#FFFFFF#000000##FFFFFF
##382F951.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382f95;
/* rgb */ color: rgb(56, 47, 149);
/* oklch */ color: oklch(38.4% 0.160 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a68b5',
    500: '#382f95',
    950: '#000000',
  },
}
SCSS
$custom: #382f95;
$custom-light: #7a68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382f95",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 245.294,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38427,
    "c": 0.16006,
    "h": 279.7
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#382F95
secondary
#B1B867
accent
#DB4CCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382F95

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

Preview Lab → · Contrast checker → · Palette generator →

#382F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva