#383E97#383E97

#383E97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.144 H 275.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#383E97
RGBrgb(56, 62, 151)
HSLhsl(236, 46%, 41%)
HSVhsv(236, 63%, 59%)
CMYKcmyk(62.9%, 58.9%, 0%, 40.8%)
CIE-LABlab(30.69, 26.13, -49.73)
CIE-LCHlch(30.69, 56.18, 297.72°)
OKLaboklab(41.29% 0.0131 -0.1429)
OKLCHoklch(41.29% 0.144 275.3)
XYZxyz(8.9376, 6.5197, 30.0596)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383E97 #979138
analogous
#386D97 #383E97 #623897
triadic
#383E97 #97383E #3E9738
tetradic
#383E97 #97386D #979138 #389762
square
#383E97 #97386D #979138 #389762
split-complementary
#383E97 #976238 #6D9738
monochromatic
#17193E #272C6A #383E97 #4F56BE #7B80CE

Accessibility & contrast

On white

9.11
#383E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#383E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383E97
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383E97#FFFFFF#000000##FFFFFF
##383E971.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383e97;
/* rgb */ color: rgb(56, 62, 151);
/* oklch */ color: oklch(41.3% 0.144 275.3);
Tailwind
colors: {
  custom: {
    50: '#7973b6',
    500: '#383e97',
    950: '#000000',
  },
}
SCSS
$custom: #383e97;
$custom-light: #7973b6;
$custom-dark: #000000;
JSON
{
  "hex": "#383e97",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 236.211,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.14354,
    "h": 275.3
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#383E97
secondary
#B7B373
accent
#CD52D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383E97

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

Preview Lab → · Contrast checker → · Palette generator →

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