#382E8D#382E8D

#382E8D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.151 H 281.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#382E8D
RGBrgb(56, 46, 141)
HSLhsl(246, 51%, 37%)
HSVhsv(246, 67%, 55%)
CMYKcmyk(60.3%, 67.4%, 0%, 44.7%)
CIE-LABlab(25.91, 32.97, -51.36)
CIE-LCHlch(25.91, 61.03, 302.70°)
OKLaboklab(37.52% 0.0289 -0.1478)
OKLCHoklch(37.52% 0.151 281.1)
XYZxyz(7.4141, 4.7173, 25.7140)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E8D #838D2E
analogous
#2E548D #382E8D #682E8D
triadic
#382E8D #8D382E #2E8D38
tetradic
#382E8D #8D2E54 #838D2E #2E8D68
square
#382E8D #8D2E54 #838D2E #2E8D68
split-complementary
#382E8D #8D682E #548D2E
monochromatic
#131031 #261F5F #382E8D #4A3DBB #7268CE

Accessibility & contrast

On white

10.80
#382E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#382E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E8D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E8D#FFFFFF#000000##FFFFFF
##382E8D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382e8d;
/* rgb */ color: rgb(56, 46, 141);
/* oklch */ color: oklch(37.5% 0.151 281.1);
Tailwind
colors: {
  custom: {
    50: '#7867af',
    500: '#382e8d',
    950: '#000000',
  },
}
SCSS
$custom: #382e8d;
$custom-light: #7867af;
$custom-dark: #000000;
JSON
{
  "hex": "#382e8d",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 246.316,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37524,
    "c": 0.1506,
    "h": 281.1
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#382E8D
secondary
#ACB562
accent
#DA4ECB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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