#382A90#382A90

#382A90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.159 H 281.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#382A90
RGBrgb(56, 42, 144)
HSLhsl(248, 55%, 36%)
HSVhsv(248, 71%, 56%)
CMYKcmyk(61.1%, 70.8%, 0%, 43.5%)
CIE-LABlab(25.29, 36.40, -54.24)
CIE-LCHlch(25.29, 65.32, 303.87°)
OKLaboklab(37.16% 0.0319 -0.1563)
OKLCHoklch(37.16% 0.159 281.6)
XYZxyz(7.4913, 4.5098, 26.8559)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A90 #82902A
analogous
#2A4F90 #382A90 #6B2A90
triadic
#382A90 #90382A #2A9038
tetradic
#382A90 #902A4F #82902A #2A906B
square
#382A90 #902A4F #82902A #2A906B
split-complementary
#382A90 #906B2A #4F902A
monochromatic
#130E31 #261C61 #382A90 #4A38BF #7263D1

Accessibility & contrast

On white

11.04
#382A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#382A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A90
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A90#FFFFFF#000000##FFFFFF
##382A901.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382a90;
/* rgb */ color: rgb(56, 42, 144);
/* oklch */ color: oklch(37.2% 0.159 281.6);
Tailwind
colors: {
  custom: {
    50: '#7965b1',
    500: '#382a90',
    950: '#000000',
  },
}
SCSS
$custom: #382a90;
$custom-light: #7965b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382a90",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 248.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.15949,
    "h": 281.6
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#382A90
secondary
#ABB75E
accent
#DE4ACA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382A90

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

Preview Lab → · Contrast checker → · Palette generator →

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