#382994#382994

#382994 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.166 H 281.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#382994
RGBrgb(56, 41, 148)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 72%, 58%)
CMYKcmyk(62.2%, 72.3%, 0%, 42%)
CIE-LABlab(25.46, 38.29, -56.44)
CIE-LCHlch(25.46, 68.20, 304.16°)
OKLaboklab(37.39% 0.032 -0.1627)
OKLCHoklch(37.39% 0.166 281.1)
XYZxyz(7.7674, 4.5642, 28.4829)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382994 #859429
analogous
#295094 #382994 #6E2994
triadic
#382994 #943829 #299438
tetradic
#382994 #942950 #859429 #29946E
square
#382994 #942950 #859429 #29946E
split-complementary
#382994 #946E29 #509429
monochromatic
#140E34 #261C64 #382994 #4A36C4 #7363D4

Accessibility & contrast

On white

10.98
#382994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#382994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382994
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382994#FFFFFF#000000##FFFFFF
##3829941.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382994;
/* rgb */ color: rgb(56, 41, 148);
/* oklch */ color: oklch(37.4% 0.166 281.1);
Tailwind
colors: {
  custom: {
    50: '#7a64b4',
    500: '#382994',
    950: '#000000',
  },
}
SCSS
$custom: #382994;
$custom-light: #7a64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382994",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 248.411,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.16581,
    "h": 281.1
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382994

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

Preview Lab → · Contrast checker → · Palette generator →

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