#383A99#383A99

#383A99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.152 H 276.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#383A99
RGBrgb(56, 58, 153)
HSLhsl(239, 46%, 41%)
HSVhsv(239, 63%, 60%)
CMYKcmyk(63.4%, 62.1%, 0%, 40%)
CIE-LABlab(29.83, 29.45, -52.35)
CIE-LCHlch(29.83, 60.06, 299.36°)
OKLaboklab(40.7% 0.0169 -0.1507)
OKLCHoklch(40.7% 0.152 276.4)
XYZxyz(8.8918, 6.1661, 30.8524)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383A99 #999738
analogous
#386A99 #383A99 #663899
triadic
#383A99 #99383A #3A9938
tetradic
#383A99 #99386A #999738 #389966
square
#383A99 #99386A #999738 #389966
split-complementary
#383A99 #996638 #6A9938
monochromatic
#17183F #28296C #383A99 #4F52BF #7C7ECF

Accessibility & contrast

On white

9.40
#383A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#383A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383A99
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383A99#FFFFFF#000000##FFFFFF
##383A991.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #383a99;
/* rgb */ color: rgb(56, 58, 153);
/* oklch */ color: oklch(40.7% 0.152 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a70b8',
    500: '#383a99',
    950: '#000000',
  },
}
SCSS
$custom: #383a99;
$custom-light: #7a70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#383a99",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 238.763,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.407,
    "c": 0.15161,
    "h": 276.4
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#383A99
secondary
#B8B774
accent
#D352D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383A99

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

Preview Lab → · Contrast checker → · Palette generator →

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