#383E8A#383E8A

#383E8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.125 H 275.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#383E8A
RGBrgb(56, 62, 138)
HSLhsl(236, 42%, 38%)
HSVhsv(236, 59%, 54%)
CMYKcmyk(59.4%, 55.1%, 0%, 45.9%)
CIE-LABlab(29.71, 21.52, -43.33)
CIE-LCHlch(29.71, 48.38, 296.42°)
OKLaboklab(40.25% 0.0127 -0.1241)
OKLCHoklch(40.25% 0.125 275.9)
XYZxyz(7.9395, 6.1204, 24.8028)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383E8A #8A8438
analogous
#38678A #383E8A #5B388A
triadic
#383E8A #8A383E #3E8A38
tetradic
#383E8A #8A3867 #8A8438 #388A5B
square
#383E8A #8A3867 #8A8438 #388A5B
split-complementary
#383E8A #8A5B38 #678A38
monochromatic
#151733 #262A5E #383E8A #4A52B5 #757BC7

Accessibility & contrast

On white

9.44
#383E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#383E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383E8A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383E8A#FFFFFF#000000##FFFFFF
##383E8A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#02505E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #383e8a;
/* rgb */ color: rgb(56, 62, 138);
/* oklch */ color: oklch(40.3% 0.125 275.9);
Tailwind
colors: {
  custom: {
    50: '#7773ad',
    500: '#383e8a',
    950: '#000000',
  },
}
SCSS
$custom: #383e8a;
$custom-light: #7773ad;
$custom-dark: #000000;
JSON
{
  "hex": "#383e8a",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 235.61,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.12475,
    "h": 275.9
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#383E8A
secondary
#B0AB6E
accent
#C956D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #383E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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