#383D89#383D89

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

Color values

HEX#383D89
RGBrgb(56, 61, 137)
HSLhsl(236, 42%, 38%)
HSVhsv(236, 59%, 54%)
CMYKcmyk(59.1%, 55.5%, 0%, 46.3%)
CIE-LABlab(29.37, 21.84, -43.26)
CIE-LCHlch(29.37, 48.46, 296.79°)
OKLaboklab(39.97% 0.0138 -0.1239)
OKLCHoklch(39.97% 0.125 276.3)
XYZxyz(7.8135, 5.9838, 24.4053)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D89 #898438
analogous
#386689 #383D89 #5B3889
triadic
#383D89 #89383D #3D8938
tetradic
#383D89 #893866 #898438 #38895B
square
#383D89 #893866 #898438 #38895B
split-complementary
#383D89 #895B38 #668938
monochromatic
#141632 #262A5E #383D89 #4A50B4 #757AC7

Accessibility & contrast

On white

9.56
#383D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383D89
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D89#FFFFFF#000000##FFFFFF
##383D891.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#044F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383d89;
/* rgb */ color: rgb(56, 61, 137);
/* oklch */ color: oklch(40.0% 0.125 276.3);
Tailwind
colors: {
  custom: {
    50: '#7672ac',
    500: '#383d89',
    950: '#000000',
  },
}
SCSS
$custom: #383d89;
$custom-light: #7672ac;
$custom-dark: #000000;
JSON
{
  "hex": "#383d89",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 236.296,
    "s": 41.969,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.12468,
    "h": 276.3
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#383D89
secondary
#AFAB6D
accent
#CA56D2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #383D89

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

Preview Lab → · Contrast checker → · Palette generator →

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