#383397#383397

#383397 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.158 H 278.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#383397
RGBrgb(56, 51, 151)
HSLhsl(243, 50%, 40%)
HSVhsv(243, 66%, 59%)
CMYKcmyk(62.9%, 66.2%, 0%, 40.8%)
CIE-LABlab(27.96, 33.23, -54.18)
CIE-LCHlch(27.96, 63.55, 301.52°)
OKLaboklab(39.28% 0.0233 -0.1561)
OKLCHoklch(39.28% 0.158 278.5)
XYZxyz(8.3988, 5.4421, 29.8800)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383397 #929733
analogous
#336097 #383397 #6A3397
triadic
#383397 #973833 #339738
tetradic
#383397 #973360 #929733 #33976A
square
#383397 #973360 #929733 #33976A
split-complementary
#383397 #976A33 #609733
monochromatic
#16143C #272469 #383397 #4D47C1 #7974D0

Accessibility & contrast

On white

10.05
#383397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#383397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383397
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383397#FFFFFF#000000##FFFFFF
##3833971.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #383397;
/* rgb */ color: rgb(56, 51, 151);
/* oklch */ color: oklch(39.3% 0.158 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a6bb6',
    500: '#383397',
    950: '#000000',
  },
}
SCSS
$custom: #383397;
$custom-light: #7a6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#383397",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 243,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.1578,
    "h": 278.5
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#383397
secondary
#B5B86D
accent
#D94FD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383397

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

Preview Lab → · Contrast checker → · Palette generator →

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