#382F94#382F94

#382F94 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.159 H 279.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#382F94
RGBrgb(56, 47, 148)
HSLhsl(245, 52%, 38%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(62.2%, 68.2%, 0%, 42%)
CIE-LABlab(26.77, 34.70, -54.29)
CIE-LCHlch(26.77, 64.43, 302.59°)
OKLaboklab(38.33% 0.0271 -0.1564)
OKLCHoklch(38.33% 0.159 279.8)
XYZxyz(7.9910, 5.0113, 28.5574)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F94 #8B942F
analogous
#2F5894 #382F94 #6A2F94
triadic
#382F94 #94382F #2F9438
tetradic
#382F94 #942F58 #8B942F #2F946A
square
#382F94 #942F58 #8B942F #2F946A
split-complementary
#382F94 #946A2F #58942F
monochromatic
#151137 #262066 #382F94 #4A3EC2 #766DD1

Accessibility & contrast

On white

10.49
#382F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#382F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F94
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F94#FFFFFF#000000##FFFFFF
##382F941.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382f94;
/* rgb */ color: rgb(56, 47, 148);
/* oklch */ color: oklch(38.3% 0.159 279.8);
Tailwind
colors: {
  custom: {
    50: '#7a68b4',
    500: '#382f94',
    950: '#000000',
  },
}
SCSS
$custom: #382f94;
$custom-light: #7a68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382f94",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 245.347,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.15873,
    "h": 279.8
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382F94

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

Preview Lab → · Contrast checker → · Palette generator →

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