#383D9F#383D9F

#383D9F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.156 H 275.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#383D9F
RGBrgb(56, 61, 159)
HSLhsl(237, 48%, 42%)
HSVhsv(237, 65%, 62%)
CMYKcmyk(64.8%, 61.6%, 0%, 37.6%)
CIE-LABlab(31.07, 29.61, -53.97)
CIE-LCHlch(31.07, 61.56, 298.75°)
OKLaboklab(41.77% 0.0139 -0.1554)
OKLCHoklch(41.77% 0.156 275.1)
XYZxyz(9.5556, 6.6806, 33.5801)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D9F #9F9A38
analogous
#38719F #383D9F #66389F
triadic
#383D9F #9F383D #3D9F38
tetradic
#383D9F #9F3871 #9F9A38 #389F66
square
#383D9F #9F3871 #9F9A38 #389F66
split-complementary
#383D9F #9F6638 #719F38
monochromatic
#181A44 #282C72 #383D9F #5258C2 #7F83D2

Accessibility & contrast

On white

8.99
#383D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#383D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383D9F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D9F#FFFFFF#000000##FFFFFF
##383D9F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383d9f;
/* rgb */ color: rgb(56, 61, 159);
/* oklch */ color: oklch(41.8% 0.156 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b72bc',
    500: '#383d9f',
    950: '#000000',
  },
}
SCSS
$custom: #383d9f;
$custom-light: #7b72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#383d9f",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 237.087,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.15604,
    "h": 275.1
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#383D9F
secondary
#BBB877
accent
#D150D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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