#383D97#383D97

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

Color values

HEX#383D97
RGBrgb(56, 61, 151)
HSLhsl(237, 46%, 41%)
HSVhsv(237, 63%, 59%)
CMYKcmyk(62.9%, 59.6%, 0%, 40.8%)
CIE-LABlab(30.43, 26.79, -50.15)
CIE-LCHlch(30.43, 56.86, 298.11°)
OKLaboklab(41.09% 0.0141 -0.1442)
OKLCHoklch(41.09% 0.145 275.6)
XYZxyz(8.8837, 6.4119, 30.0416)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D97 #979238
analogous
#386C97 #383D97 #623897
triadic
#383D97 #97383D #3D9738
tetradic
#383D97 #97386C #979238 #389762
square
#383D97 #97386C #979238 #389762
split-complementary
#383D97 #976238 #6C9738
monochromatic
#17193E #272B6A #383D97 #4F54BE #7B80CE

Accessibility & contrast

On white

9.20
#383D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#383D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383D97
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D97#FFFFFF#000000##FFFFFF
##383D971.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.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: #383d97;
/* rgb */ color: rgb(56, 61, 151);
/* oklch */ color: oklch(41.1% 0.145 275.6);
Tailwind
colors: {
  custom: {
    50: '#7972b6',
    500: '#383d97',
    950: '#000000',
  },
}
SCSS
$custom: #383d97;
$custom-light: #7972b6;
$custom-dark: #000000;
JSON
{
  "hex": "#383d97",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 236.842,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.14488,
    "h": 275.6
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#383D97
secondary
#B7B473
accent
#CF52D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383D97

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

Preview Lab → · Contrast checker → · Palette generator →

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