#383B97#383B97

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

Color values

HEX#383B97
RGBrgb(56, 59, 151)
HSLhsl(238, 46%, 41%)
HSVhsv(238, 63%, 59%)
CMYKcmyk(62.9%, 60.9%, 0%, 40.8%)
CIE-LABlab(29.92, 28.09, -50.98)
CIE-LCHlch(29.92, 58.21, 298.86°)
OKLaboklab(40.72% 0.016 -0.1466)
OKLCHoklch(40.72% 0.148 276.2)
XYZxyz(8.7789, 6.2024, 30.0067)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383B97 #979438
analogous
#386A97 #383B97 #643897
triadic
#383B97 #97383B #3B9738
tetradic
#383B97 #97386A #979438 #389764
square
#383B97 #97386A #979438 #389764
split-complementary
#383B97 #976438 #6A9738
monochromatic
#17183E #272A6A #383B97 #4F52BE #7B7ECE

Accessibility & contrast

On white

9.37
#383B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#383B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383B97
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383B97#FFFFFF#000000##FFFFFF
##383B971.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #383b97;
/* rgb */ color: rgb(56, 59, 151);
/* oklch */ color: oklch(40.7% 0.148 276.2);
Tailwind
colors: {
  custom: {
    50: '#7971b6',
    500: '#383b97',
    950: '#000000',
  },
}
SCSS
$custom: #383b97;
$custom-light: #7971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#383b97",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 238.105,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.14752,
    "h": 276.2
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383B97

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

Preview Lab → · Contrast checker → · Palette generator →

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