#384997#384997

#384997 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.129 H 270.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#384997
RGBrgb(56, 73, 151)
HSLhsl(229, 46%, 41%)
HSVhsv(229, 63%, 59%)
CMYKcmyk(62.9%, 51.7%, 0%, 40.8%)
CIE-LABlab(33.65, 18.84, -44.95)
CIE-LCHlch(33.65, 48.74, 292.74°)
OKLaboklab(43.51% 0.0021 -0.1287)
OKLCHoklch(43.51% 0.129 270.9)
XYZxyz(9.5975, 7.8394, 30.2795)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384997 #978638
analogous
#387897 #384997 #563897
triadic
#384997 #973849 #499738
tetradic
#384997 #973878 #978638 #389756
square
#384997 #973878 #978638 #389756
split-complementary
#384997 #975638 #789738
monochromatic
#171E3E #27336A #384997 #4F62BE #7B8ACE

Accessibility & contrast

On white

8.18
#384997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#384997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384997
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384997#FFFFFF#000000##FFFFFF
##3849971.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#044B95
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #384997;
/* rgb */ color: rgb(56, 73, 151);
/* oklch */ color: oklch(43.5% 0.129 270.9);
Tailwind
colors: {
  custom: {
    50: '#787bb6',
    500: '#384997',
    950: '#000000',
  },
}
SCSS
$custom: #384997;
$custom-light: #787bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#384997",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 229.263,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.12876,
    "h": 270.9
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#384997
secondary
#B7AB73
accent
#BE52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384997

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

Preview Lab → · Contrast checker → · Palette generator →

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