#383C8D#383C8D

#383C8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.132 H 276.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#383C8D
RGBrgb(56, 60, 141)
HSLhsl(237, 43%, 39%)
HSVhsv(237, 60%, 55%)
CMYKcmyk(60.3%, 57.4%, 0%, 44.7%)
CIE-LABlab(29.40, 23.92, -45.69)
CIE-LCHlch(29.40, 51.57, 297.63°)
OKLaboklab(40.09% 0.015 -0.1311)
OKLCHoklch(40.09% 0.132 276.5)
XYZxyz(8.0529, 5.9950, 25.9269)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C8D #8D8938
analogous
#38668D #383C8D #5E388D
triadic
#383C8D #8D383C #3C8D38
tetradic
#383C8D #8D3866 #8D8938 #388D5E
square
#383C8D #8D3866 #8D8938 #388D5E
split-complementary
#383C8D #8D5E38 #668D38
monochromatic
#151735 #272961 #383C8D #4B50B7 #777AC9

Accessibility & contrast

On white

9.55
#383C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#383C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C8D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C8D#FFFFFF#000000##FFFFFF
##383C8D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383c8d;
/* rgb */ color: rgb(56, 60, 141);
/* oklch */ color: oklch(40.1% 0.132 276.5);
Tailwind
colors: {
  custom: {
    50: '#7771af',
    500: '#383c8d',
    950: '#000000',
  },
}
SCSS
$custom: #383c8d;
$custom-light: #7771af;
$custom-dark: #000000;
JSON
{
  "hex": "#383c8d",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 237.176,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.13193,
    "h": 276.5
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#383C8D
secondary
#B2AF6F
accent
#CD55D3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #383C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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