#383C8A#383C8A

#383C8A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.128 H 276.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#383C8A
RGBrgb(56, 60, 138)
HSLhsl(237, 42%, 38%)
HSVhsv(237, 59%, 54%)
CMYKcmyk(59.4%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.18, 22.86, -44.20)
CIE-LCHlch(29.18, 49.76, 297.35°)
OKLaboklab(39.85% 0.0149 -0.1267)
OKLCHoklch(39.85% 0.128 276.7)
XYZxyz(7.8327, 5.9069, 24.7672)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C8A #8A8638
analogous
#38658A #383C8A #5D388A
triadic
#383C8A #8A383C #3C8A38
tetradic
#383C8A #8A3865 #8A8638 #388A5D
square
#383C8A #8A3865 #8A8638 #388A5D
split-complementary
#383C8A #8A5D38 #658A38
monochromatic
#151633 #26295E #383C8A #4A4FB5 #7579C7

Accessibility & contrast

On white

9.63
#383C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#383C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C8A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C8A#FFFFFF#000000##FFFFFF
##383C8A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#024E5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383c8a;
/* rgb */ color: rgb(56, 60, 138);
/* oklch */ color: oklch(39.8% 0.128 276.7);
Tailwind
colors: {
  custom: {
    50: '#7771ad',
    500: '#383c8a',
    950: '#000000',
  },
}
SCSS
$custom: #383c8a;
$custom-light: #7771ad;
$custom-dark: #000000;
JSON
{
  "hex": "#383c8a",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 237.073,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.12756,
    "h": 276.7
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#383C8A
secondary
#B0AD6E
accent
#CC56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #383C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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