#383C99#383C99

#383C99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.149 H 275.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#383C99
RGBrgb(56, 60, 153)
HSLhsl(238, 46%, 41%)
HSVhsv(238, 63%, 60%)
CMYKcmyk(63.4%, 60.8%, 0%, 40%)
CIE-LABlab(30.33, 28.15, -51.53)
CIE-LCHlch(30.33, 58.72, 298.64°)
OKLaboklab(41.07% 0.015 -0.1482)
OKLCHoklch(41.07% 0.149 275.8)
XYZxyz(8.9946, 6.3717, 30.8867)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C99 #999538
analogous
#386C99 #383C99 #643899
triadic
#383C99 #99383C #3C9938
tetradic
#383C99 #99386C #999538 #389964
square
#383C99 #99386C #999538 #389964
split-complementary
#383C99 #996438 #6C9938
monochromatic
#17193F #282A6C #383C99 #4F54BF #7C80CF

Accessibility & contrast

On white

9.23
#383C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#383C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C99
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C99#FFFFFF#000000##FFFFFF
##383C991.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #383c99;
/* rgb */ color: rgb(56, 60, 153);
/* oklch */ color: oklch(41.1% 0.149 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a71b8',
    500: '#383c99',
    950: '#000000',
  },
}
SCSS
$custom: #383c99;
$custom-light: #7a71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#383c99",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 237.526,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.14901,
    "h": 275.8
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#383C99
secondary
#B8B674
accent
#D152D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383C99

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

Preview Lab → · Contrast checker → · Palette generator →

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