#384C9D#384C9D

#384C9D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.133 H 269.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#384C9D
RGBrgb(56, 76, 157)
HSLhsl(228, 47%, 42%)
HSVhsv(228, 64%, 62%)
CMYKcmyk(64.3%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.89, 19.02, -46.57)
CIE-LCHlch(34.89, 50.31, 292.22°)
OKLaboklab(44.58% -0.0004 -0.1335)
OKLCHoklch(44.58% 0.133 269.8)
XYZxyz(10.2991, 8.4431, 32.9787)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384C9D #9D8938
analogous
#387F9D #384C9D #57389D
triadic
#384C9D #9D384C #4C9D38
tetradic
#384C9D #9D387F #9D8938 #389D57
square
#384C9D #9D387F #9D8938 #389D57
split-complementary
#384C9D #9D5738 #7F9D38
monochromatic
#182043 #283670 #384C9D #5167C1 #7E8FD1

Accessibility & contrast

On white

7.81
#384C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#384C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384C9D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384C9D#FFFFFF#000000##FFFFFF
##384C9D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #384c9d;
/* rgb */ color: rgb(56, 76, 157);
/* oklch */ color: oklch(44.6% 0.133 269.8);
Tailwind
colors: {
  custom: {
    50: '#797dba',
    500: '#384c9d',
    950: '#000000',
  },
}
SCSS
$custom: #384c9d;
$custom-light: #797dba;
$custom-dark: #000000;
JSON
{
  "hex": "#384c9d",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 228.119,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.13348,
    "h": 269.8
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#384C9D
secondary
#BAAD76
accent
#BC51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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