#382FA8#382FA8

#382FA8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.185 H 277.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#382FA8
RGBrgb(56, 47, 168)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 66%)
CMYKcmyk(66.7%, 72%, 0%, 34.1%)
CIE-LABlab(28.64, 41.34, -63.38)
CIE-LCHlch(28.64, 75.67, 303.11°)
OKLaboklab(40.25% 0.0239 -0.183)
OKLCHoklch(40.25% 0.185 277.4)
XYZxyz(9.7130, 5.7001, 37.6266)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FA8 #9FA82F
analogous
#2F62A8 #382FA8 #752FA8
triadic
#382FA8 #A8382F #2FA838
tetradic
#382FA8 #A82F62 #9FA82F #2FA875
square
#382FA8 #A82F62 #9FA82F #2FA875
split-complementary
#382FA8 #A8752F #62A82F
monochromatic
#181448 #282278 #382FA8 #5248CC #7F78D9

Accessibility & contrast

On white

9.81
#382FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#382FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FA8
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FA8#FFFFFF#000000##FFFFFF
##382FA81.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382fa8;
/* rgb */ color: rgb(56, 47, 168);
/* oklch */ color: oklch(40.3% 0.185 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e69c3',
    500: '#382fa8',
    950: '#000000',
  },
}
SCSS
$custom: #382fa8;
$custom-light: #7e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#382fa8",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 244.463,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.18456,
    "h": 277.4
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#382FA8
secondary
#BBC171
accent
#E048D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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