#383D8A#383D8A

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

Color values

HEX#383D8A
RGBrgb(56, 61, 138)
HSLhsl(236, 42%, 38%)
HSVhsv(236, 59%, 54%)
CMYKcmyk(59.4%, 55.8%, 0%, 45.9%)
CIE-LABlab(29.44, 22.19, -43.76)
CIE-LCHlch(29.44, 49.07, 296.89°)
OKLaboklab(40.05% 0.0138 -0.1254)
OKLCHoklch(40.05% 0.126 276.3)
XYZxyz(7.8856, 6.0126, 24.7848)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D8A #8A8538
analogous
#38668A #383D8A #5C388A
triadic
#383D8A #8A383D #3D8A38
tetradic
#383D8A #8A3866 #8A8538 #388A5C
square
#383D8A #8A3866 #8A8538 #388A5C
split-complementary
#383D8A #8A5C38 #668A38
monochromatic
#151733 #262A5E #383D8A #4A50B5 #757AC7

Accessibility & contrast

On white

9.53
#383D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383D8A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D8A#FFFFFF#000000##FFFFFF
##383D8A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#024F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383d8a;
/* rgb */ color: rgb(56, 61, 138);
/* oklch */ color: oklch(40.1% 0.126 276.3);
Tailwind
colors: {
  custom: {
    50: '#7772ad',
    500: '#383d8a',
    950: '#000000',
  },
}
SCSS
$custom: #383d8a;
$custom-light: #7772ad;
$custom-dark: #000000;
JSON
{
  "hex": "#383d8a",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 236.341,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4005,
    "c": 0.12615,
    "h": 276.3
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#383D8A
secondary
#B0AC6E
accent
#CA56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #383D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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