#384797#384797

#384797 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.131 H 271.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#384797
RGBrgb(56, 71, 151)
HSLhsl(231, 46%, 41%)
HSVhsv(231, 63%, 59%)
CMYKcmyk(62.9%, 53%, 0%, 40.8%)
CIE-LABlab(33.09, 20.17, -45.84)
CIE-LCHlch(33.09, 50.08, 293.75°)
OKLaboklab(43.09% 0.0041 -0.1314)
OKLCHoklch(43.09% 0.131 271.8)
XYZxyz(9.4682, 7.5808, 30.2364)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384797 #978838
analogous
#387697 #384797 #583897
triadic
#384797 #973847 #479738
tetradic
#384797 #973876 #978838 #389758
square
#384797 #973876 #978838 #389758
split-complementary
#384797 #975838 #769738
monochromatic
#171D3E #27326A #384797 #4F60BE #7B88CE

Accessibility & contrast

On white

8.35
#384797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#384797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384797
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384797#FFFFFF#000000##FFFFFF
##3847971.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #384797;
/* rgb */ color: rgb(56, 71, 151);
/* oklch */ color: oklch(43.1% 0.131 271.8);
Tailwind
colors: {
  custom: {
    50: '#787ab6',
    500: '#384797',
    950: '#000000',
  },
}
SCSS
$custom: #384797;
$custom-light: #787ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#384797",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 230.526,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.13144,
    "h": 271.8
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#384797
secondary
#B7AD73
accent
#C152D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384797

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

Preview Lab → · Contrast checker → · Palette generator →

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