#382EA9#382EA9

#382EA9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.187 H 277.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#382EA9
RGBrgb(56, 46, 169)
HSLhsl(245, 57%, 42%)
HSVhsv(245, 73%, 66%)
CMYKcmyk(66.9%, 72.8%, 0%, 33.7%)
CIE-LABlab(28.53, 42.24, -64.16)
CIE-LCHlch(28.53, 76.81, 303.36°)
OKLaboklab(40.21% 0.0244 -0.1853)
OKLCHoklch(40.21% 0.187 277.5)
XYZxyz(9.7670, 5.6585, 38.1059)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EA9 #9FA92E
analogous
#2E62A9 #382EA9 #762EA9
triadic
#382EA9 #A9382E #2EA938
tetradic
#382EA9 #A92E62 #9FA92E #2EA976
square
#382EA9 #A92E62 #9FA92E #2EA976
split-complementary
#382EA9 #A9762E #62A92E
monochromatic
#181449 #282179 #382EA9 #5247CD #7F77DA

Accessibility & contrast

On white

9.85
#382EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#382EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EA9
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EA9#FFFFFF#000000##FFFFFF
##382EA91.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382ea9;
/* rgb */ color: rgb(56, 46, 169);
/* oklch */ color: oklch(40.2% 0.187 277.5);
Tailwind
colors: {
  custom: {
    50: '#7e68c4',
    500: '#382ea9',
    950: '#000000',
  },
}
SCSS
$custom: #382ea9;
$custom-light: #7e68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382ea9",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 244.878,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.18689,
    "h": 277.5
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#382EA9
secondary
#BBC271
accent
#E047D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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