#384C97#384C97

#384C97 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.125 H 269.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#384C97
RGBrgb(56, 76, 151)
HSLhsl(227, 46%, 41%)
HSVhsv(227, 63%, 59%)
CMYKcmyk(62.9%, 49.7%, 0%, 40.8%)
CIE-LABlab(34.48, 16.85, -43.60)
CIE-LCHlch(34.48, 46.74, 291.13°)
OKLaboklab(44.14% -0.0011 -0.1247)
OKLCHoklch(44.14% 0.125 269.5)
XYZxyz(9.7994, 8.2432, 30.3468)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384C97 #978338
analogous
#387C97 #384C97 #533897
triadic
#384C97 #97384C #4C9738
tetradic
#384C97 #97387C #978338 #389753
square
#384C97 #97387C #978338 #389753
split-complementary
#384C97 #975338 #7C9738
monochromatic
#171F3E #27366A #384C97 #4F66BE #7B8DCE

Accessibility & contrast

On white

7.93
#384C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#384C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384C97
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384C97#FFFFFF#000000##FFFFFF
##384C971.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#124D95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #384c97;
/* rgb */ color: rgb(56, 76, 151);
/* oklch */ color: oklch(44.1% 0.125 269.5);
Tailwind
colors: {
  custom: {
    50: '#787db6',
    500: '#384c97',
    950: '#000000',
  },
}
SCSS
$custom: #384c97;
$custom-light: #787db6;
$custom-dark: #000000;
JSON
{
  "hex": "#384c97",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 227.368,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.12473,
    "h": 269.5
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#384C97
secondary
#B7A973
accent
#BA52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384C97

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

Preview Lab → · Contrast checker → · Palette generator →

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