#383B8A#383B8A

#383B8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.129 H 277.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#383B8A
RGBrgb(56, 59, 138)
HSLhsl(238, 42%, 38%)
HSVhsv(238, 59%, 54%)
CMYKcmyk(59.4%, 57.2%, 0%, 45.9%)
CIE-LABlab(28.91, 23.52, -44.63)
CIE-LCHlch(28.91, 50.45, 297.80°)
OKLaboklab(39.65% 0.016 -0.1279)
OKLCHoklch(39.65% 0.129 277.1)
XYZxyz(7.7808, 5.8031, 24.7499)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383B8A #8A8738
analogous
#38648A #383B8A #5E388A
triadic
#383B8A #8A383B #3B8A38
tetradic
#383B8A #8A3864 #8A8738 #388A5E
square
#383B8A #8A3864 #8A8738 #388A5E
split-complementary
#383B8A #8A5E38 #648A38
monochromatic
#151633 #26285E #383B8A #4A4EB5 #7578C7

Accessibility & contrast

On white

9.72
#383B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#383B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383B8A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383B8A#FFFFFF#000000##FFFFFF
##383B8A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#034D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #383b8a;
/* rgb */ color: rgb(56, 59, 138);
/* oklch */ color: oklch(39.7% 0.129 277.1);
Tailwind
colors: {
  custom: {
    50: '#7771ad',
    500: '#383b8a',
    950: '#000000',
  },
}
SCSS
$custom: #383b8a;
$custom-light: #7771ad;
$custom-dark: #000000;
JSON
{
  "hex": "#383b8a",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 237.805,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.12895,
    "h": 277.1
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#383B8A
secondary
#B0AE6E
accent
#CE56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #383B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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