#384D97#384D97

#384D97 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.123 H 269.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#384D97
RGBrgb(56, 77, 151)
HSLhsl(227, 46%, 41%)
HSVhsv(227, 63%, 59%)
CMYKcmyk(62.9%, 49%, 0%, 40.8%)
CIE-LABlab(34.77, 16.19, -43.15)
CIE-LCHlch(34.77, 46.08, 290.56°)
OKLaboklab(44.36% -0.0021 -0.1234)
OKLCHoklch(44.36% 0.123 269)
XYZxyz(9.8688, 8.3820, 30.3700)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384D97 #978238
analogous
#387C97 #384D97 #523897
triadic
#384D97 #97384D #4D9738
tetradic
#384D97 #97387C #978238 #389752
square
#384D97 #97387C #978238 #389752
split-complementary
#384D97 #975238 #7C9738
monochromatic
#171F3E #27366A #384D97 #4F67BE #7B8ECE

Accessibility & contrast

On white

7.85
#384D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#384D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384D97
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384D97#FFFFFF#000000##FFFFFF
##384D971.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#164E95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #384d97;
/* rgb */ color: rgb(56, 77, 151);
/* oklch */ color: oklch(44.4% 0.123 269.0);
Tailwind
colors: {
  custom: {
    50: '#787eb6',
    500: '#384d97',
    950: '#000000',
  },
}
SCSS
$custom: #384d97;
$custom-light: #787eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#384d97",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 226.737,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.12341,
    "h": 269
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#384D97
secondary
#B7A873
accent
#B952D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384D97

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

Preview Lab → · Contrast checker → · Palette generator →

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