#383C97#383C97

#383C97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.146 H 275.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#383C97
RGBrgb(56, 60, 151)
HSLhsl(237, 46%, 41%)
HSVhsv(237, 63%, 59%)
CMYKcmyk(62.9%, 60.3%, 0%, 40.8%)
CIE-LABlab(30.17, 27.44, -50.57)
CIE-LCHlch(30.17, 57.54, 298.49°)
OKLaboklab(40.9% 0.0151 -0.1454)
OKLCHoklch(40.9% 0.146 275.9)
XYZxyz(8.8308, 6.3061, 30.0240)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C97 #979338
analogous
#386B97 #383C97 #633897
triadic
#383C97 #97383C #3C9738
tetradic
#383C97 #97386B #979338 #389763
square
#383C97 #97386B #979338 #389763
split-complementary
#383C97 #976338 #6B9738
monochromatic
#17193E #272A6A #383C97 #4F53BE #7B7FCE

Accessibility & contrast

On white

9.29
#383C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#383C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C97
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C97#FFFFFF#000000##FFFFFF
##383C971.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #383c97;
/* rgb */ color: rgb(56, 60, 151);
/* oklch */ color: oklch(40.9% 0.146 275.9);
Tailwind
colors: {
  custom: {
    50: '#7971b6',
    500: '#383c97',
    950: '#000000',
  },
}
SCSS
$custom: #383c97;
$custom-light: #7971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#383c97",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 237.474,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.1462,
    "h": 275.9
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#383C97
secondary
#B7B473
accent
#D052D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383C97

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

Preview Lab → · Contrast checker → · Palette generator →

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