#382F90#382F90

#382F90 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.153 H 280.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#382F90
RGBrgb(56, 47, 144)
HSLhsl(246, 51%, 37%)
HSVhsv(246, 67%, 56%)
CMYKcmyk(61.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(26.41, 33.36, -52.40)
CIE-LCHlch(26.41, 62.12, 302.48°)
OKLaboklab(37.97% 0.0276 -0.1509)
OKLCHoklch(37.97% 0.153 280.4)
XYZxyz(7.6799, 4.8869, 26.9187)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F90 #87902F
analogous
#2F5790 #382F90 #682F90
triadic
#382F90 #90382F #2F9038
tetradic
#382F90 #902F57 #87902F #2F9068
square
#382F90 #902F57 #87902F #2F9068
split-complementary
#382F90 #90682F #57902F
monochromatic
#141134 #262062 #382F90 #4A3EBE #746BCF

Accessibility & contrast

On white

10.62
#382F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#382F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F90
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F90#FFFFFF#000000##FFFFFF
##382F901.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382f90;
/* rgb */ color: rgb(56, 47, 144);
/* oklch */ color: oklch(38.0% 0.153 280.4);
Tailwind
colors: {
  custom: {
    50: '#7968b1',
    500: '#382f90',
    950: '#000000',
  },
}
SCSS
$custom: #382f90;
$custom-light: #7968b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382f90",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 245.567,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.15338,
    "h": 280.4
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#382F90
secondary
#AEB665
accent
#DA4ECD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382F90

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

Preview Lab → · Contrast checker → · Palette generator →

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