#384397#384397

#384397 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.137 H 273.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#384397
RGBrgb(56, 67, 151)
HSLhsl(233, 46%, 41%)
HSVhsv(233, 63%, 59%)
CMYKcmyk(62.9%, 55.6%, 0%, 40.8%)
CIE-LABlab(32.01, 22.83, -47.59)
CIE-LCHlch(32.01, 52.78, 295.62°)
OKLaboklab(42.27% 0.0082 -0.1366)
OKLCHoklch(42.27% 0.137 273.4)
XYZxyz(9.2221, 7.0887, 30.1544)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384397 #978C38
analogous
#387297 #384397 #5C3897
triadic
#384397 #973843 #439738
tetradic
#384397 #973872 #978C38 #38975C
square
#384397 #973872 #978C38 #38975C
split-complementary
#384397 #975C38 #729738
monochromatic
#171B3E #272F6A #384397 #4F5BBE #7B85CE

Accessibility & contrast

On white

8.69
#384397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#384397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384397
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384397#FFFFFF#000000##FFFFFF
##3843971.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #384397;
/* rgb */ color: rgb(56, 67, 151);
/* oklch */ color: oklch(42.3% 0.137 273.4);
Tailwind
colors: {
  custom: {
    50: '#7977b6',
    500: '#384397',
    950: '#000000',
  },
}
SCSS
$custom: #384397;
$custom-light: #7977b6;
$custom-dark: #000000;
JSON
{
  "hex": "#384397",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 233.053,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.13684,
    "h": 273.4
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#384397
secondary
#B7AF73
accent
#C652D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #384397

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

Preview Lab → · Contrast checker → · Palette generator →

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