#382A8A#382A8A

#382A8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.152 H 282.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#382A8A
RGBrgb(56, 42, 138)
HSLhsl(249, 53%, 35%)
HSVhsv(249, 70%, 54%)
CMYKcmyk(59.4%, 69.6%, 0%, 45.9%)
CIE-LABlab(24.74, 34.44, -51.42)
CIE-LCHlch(24.74, 61.88, 303.81°)
OKLaboklab(36.59% 0.0329 -0.148)
OKLCHoklch(36.59% 0.152 282.5)
XYZxyz(7.0449, 4.3312, 24.5046)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A8A #7C8A2A
analogous
#2A4C8A #382A8A #682A8A
triadic
#382A8A #8A382A #2A8A38
tetradic
#382A8A #8A2A4C #7C8A2A #2A8A68
square
#382A8A #8A2A4C #7C8A2A #2A8A68
split-complementary
#382A8A #8A682A #4C8A2A
monochromatic
#120D2C #251C5B #382A8A #4B38B9 #7060CF

Accessibility & contrast

On white

11.25
#382A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#382A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A8A
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A8A#FFFFFF#000000##FFFFFF
##382A8A1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#084356
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382a8a;
/* rgb */ color: rgb(56, 42, 138);
/* oklch */ color: oklch(36.6% 0.152 282.5);
Tailwind
colors: {
  custom: {
    50: '#7865ad',
    500: '#382a8a',
    950: '#000000',
  },
}
SCSS
$custom: #382a8a;
$custom-light: #7865ad;
$custom-dark: #000000;
JSON
{
  "hex": "#382a8a",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 248.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.15161,
    "h": 282.5
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#382A8A
secondary
#A7B45B
accent
#DD4BC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #382A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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