#383D9B#383D9B

#383D9B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.150 H 275.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#383D9B
RGBrgb(56, 61, 155)
HSLhsl(237, 47%, 41%)
HSVhsv(237, 64%, 61%)
CMYKcmyk(63.9%, 60.6%, 0%, 39.2%)
CIE-LABlab(30.75, 28.20, -52.07)
CIE-LCHlch(30.75, 59.22, 298.44°)
OKLaboklab(41.43% 0.0141 -0.1498)
OKLCHoklch(41.43% 0.15 275.4)
XYZxyz(9.2141, 6.5440, 31.7816)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D9B #9B9638
analogous
#386F9B #383D9B #65389B
triadic
#383D9B #9B383D #3D9B38
tetradic
#383D9B #9B386F #9B9638 #389B65
square
#383D9B #9B386F #9B9638 #389B65
split-complementary
#383D9B #9B6538 #6F9B38
monochromatic
#181A41 #282B6E #383D9B #5056C0 #7D81D0

Accessibility & contrast

On white

9.09
#383D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#383D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383D9B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D9B#FFFFFF#000000##FFFFFF
##383D9B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383d9b;
/* rgb */ color: rgb(56, 61, 155);
/* oklch */ color: oklch(41.4% 0.150 275.4);
Tailwind
colors: {
  custom: {
    50: '#7a72b9',
    500: '#383d9b',
    950: '#000000',
  },
}
SCSS
$custom: #383d9b;
$custom-light: #7a72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#383d9b",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 236.97,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.15049,
    "h": 275.4
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#383D9B
secondary
#B9B675
accent
#D051D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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