#383799#383799

#383799 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.155 H 277.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#383799
RGBrgb(56, 55, 153)
HSLhsl(241, 47%, 41%)
HSVhsv(241, 64%, 60%)
CMYKcmyk(63.4%, 64.1%, 0%, 40%)
CIE-LABlab(29.09, 31.38, -53.56)
CIE-LCHlch(29.09, 62.07, 300.37°)
OKLaboklab(40.16% 0.0196 -0.1542)
OKLCHoklch(40.16% 0.155 277.2)
XYZxyz(8.7450, 5.8723, 30.8035)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383799 #989937
analogous
#376799 #383799 #693799
triadic
#383799 #993837 #379938
tetradic
#383799 #993767 #989937 #379969
square
#383799 #993767 #989937 #379969
split-complementary
#383799 #996937 #679937
monochromatic
#17173F #28276C #383799 #4F4EBF #7C7BD0

Accessibility & contrast

On white

9.66
#383799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#383799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383799
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383799#FFFFFF#000000##FFFFFF
##3837991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #383799;
/* rgb */ color: rgb(56, 55, 153);
/* oklch */ color: oklch(40.2% 0.155 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a6eb8',
    500: '#383799',
    950: '#000000',
  },
}
SCSS
$custom: #383799;
$custom-light: #7a6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#383799",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 240.612,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.15547,
    "h": 277.2
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#383799
secondary
#B8B973
accent
#D751D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383799

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

Preview Lab → · Contrast checker → · Palette generator →

#383799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva