#384C8A#384C8A

#384C8A is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.105 H 268.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#384C8A
RGBrgb(56, 76, 138)
HSLhsl(225, 42%, 38%)
HSVhsv(225, 59%, 54%)
CMYKcmyk(59.4%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.66, 12.17, -37.00)
CIE-LCHlch(33.66, 38.95, 288.21°)
OKLaboklab(43.24% -0.0031 -0.1053)
OKLCHoklch(43.24% 0.105 268.3)
XYZxyz(8.8012, 7.8439, 25.0901)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384C8A #8A7638
analogous
#38758A #384C8A #4D388A
triadic
#384C8A #8A384C #4C8A38
tetradic
#384C8A #8A3875 #8A7638 #388A4D
square
#384C8A #8A3875 #8A7638 #388A4D
split-complementary
#384C8A #8A4D38 #758A38
monochromatic
#151C33 #26345E #384C8A #4A64B5 #7589C7

Accessibility & contrast

On white

8.17
#384C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#384C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384C8A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384C8A#FFFFFF#000000##FFFFFF
##384C8A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #384c8a;
/* rgb */ color: rgb(56, 76, 138);
/* oklch */ color: oklch(43.2% 0.105 268.3);
Tailwind
colors: {
  custom: {
    50: '#767dac',
    500: '#384c8a',
    950: '#000000',
  },
}
SCSS
$custom: #384c8a;
$custom-light: #767dac;
$custom-dark: #000000;
JSON
{
  "hex": "#384c8a",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 225.366,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.1054,
    "h": 268.3
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#384C8A
secondary
#B0A06E
accent
#B456D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #384C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#384C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva