#384784#384784

#384784 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.103 H 271.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#384784
RGBrgb(56, 71, 132)
HSLhsl(228, 40%, 37%)
HSVhsv(228, 58%, 52%)
CMYKcmyk(57.6%, 46.2%, 0%, 48.2%)
CIE-LABlab(31.84, 13.37, -36.21)
CIE-LCHlch(31.84, 38.60, 290.26°)
OKLaboklab(41.73% 0.0017 -0.1031)
OKLCHoklch(41.73% 0.103 271)
XYZxyz(8.0476, 7.0126, 22.7548)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384784 #847538
analogous
#386D84 #384784 #4F3884
triadic
#384784 #843847 #478438
tetradic
#384784 #84386D #847538 #38844F
square
#384784 #84386D #847538 #38844F
split-complementary
#384784 #844F38 #6D8438
monochromatic
#14192E #263059 #384784 #4A5EAF #7383C4

Accessibility & contrast

On white

8.74
#384784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#384784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384784
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384784#FFFFFF#000000##FFFFFF
##3847841.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E86
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#0C545F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #384784;
/* rgb */ color: rgb(56, 71, 132);
/* oklch */ color: oklch(41.7% 0.103 271.0);
Tailwind
colors: {
  custom: {
    50: '#7579a8',
    500: '#384784',
    950: '#000000',
  },
}
SCSS
$custom: #384784;
$custom-light: #7579a8;
$custom-dark: #000000;
JSON
{
  "hex": "#384784",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 228.158,
    "s": 40.426,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.10309,
    "h": 271
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#384784
secondary
#ACA06B
accent
#B858D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #384784

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

Preview Lab → · Contrast checker → · Palette generator →

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