#383B8D#383B8D

#383B8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.133 H 276.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#383B8D
RGBrgb(56, 59, 141)
HSLhsl(238, 43%, 39%)
HSVhsv(238, 60%, 55%)
CMYKcmyk(60.3%, 58.2%, 0%, 44.7%)
CIE-LABlab(29.14, 24.58, -46.11)
CIE-LCHlch(29.14, 52.26, 298.06°)
OKLaboklab(39.89% 0.0161 -0.1323)
OKLCHoklch(39.89% 0.133 276.9)
XYZxyz(8.0010, 5.8912, 25.9096)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383B8D #8D8A38
analogous
#38658D #383B8D #5F388D
triadic
#383B8D #8D383B #3B8D38
tetradic
#383B8D #8D3865 #8D8A38 #388D5F
square
#383B8D #8D3865 #8D8A38 #388D5F
split-complementary
#383B8D #8D5F38 #658D38
monochromatic
#151635 #272961 #383B8D #4B4FB7 #7779C9

Accessibility & contrast

On white

9.64
#383B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383B8D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383B8D#FFFFFF#000000##FFFFFF
##383B8D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383b8d;
/* rgb */ color: rgb(56, 59, 141);
/* oklch */ color: oklch(39.9% 0.133 276.9);
Tailwind
colors: {
  custom: {
    50: '#7771af',
    500: '#383b8d',
    950: '#000000',
  },
}
SCSS
$custom: #383b8d;
$custom-light: #7771af;
$custom-dark: #000000;
JSON
{
  "hex": "#383b8d",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 237.882,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.1333,
    "h": 276.9
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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