#382E8F#382E8F

#382E8F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.153 H 280.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#382E8F
RGBrgb(56, 46, 143)
HSLhsl(246, 51%, 37%)
HSVhsv(246, 68%, 56%)
CMYKcmyk(60.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(26.09, 33.64, -52.31)
CIE-LCHlch(26.09, 62.19, 302.75°)
OKLaboklab(37.71% 0.0286 -0.1506)
OKLCHoklch(37.71% 0.153 280.8)
XYZxyz(7.5642, 4.7774, 26.5048)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382E8F #858F2E
analogous
#2E548F #382E8F #692E8F
triadic
#382E8F #8F382E #2E8F38
tetradic
#382E8F #8F2E54 #858F2E #2E8F69
square
#382E8F #8F2E54 #858F2E #2E8F69
split-complementary
#382E8F #8F692E #548F2E
monochromatic
#141032 #261F61 #382E8F #4A3DBD #7369CF

Accessibility & contrast

On white

10.74
#382E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#382E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382E8F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382E8F#FFFFFF#000000##FFFFFF
##382E8F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382e8f;
/* rgb */ color: rgb(56, 46, 143);
/* oklch */ color: oklch(37.7% 0.153 280.8);
Tailwind
colors: {
  custom: {
    50: '#7967b1',
    500: '#382e8f',
    950: '#000000',
  },
}
SCSS
$custom: #382e8f;
$custom-light: #7967b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382e8f",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 246.186,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.1533,
    "h": 280.8
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#382E8F
secondary
#ADB663
accent
#DB4DCC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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