#384F87#384F87

#384F87 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.097 H 265.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#384F87
RGBrgb(56, 79, 135)
HSLhsl(223, 41%, 37%)
HSVhsv(223, 59%, 53%)
CMYKcmyk(58.5%, 41.5%, 0%, 47.1%)
CIE-LABlab(34.36, 9.13, -34.04)
CIE-LCHlch(34.36, 35.25, 285.00°)
OKLaboklab(43.72% -0.0072 -0.0966)
OKLCHoklch(43.72% 0.097 265.7)
XYZxyz(8.7986, 8.1813, 24.0325)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384F87 #877038
analogous
#387687 #384F87 #493887
triadic
#384F87 #87384F #4F8738
tetradic
#384F87 #873876 #877038 #388749
square
#384F87 #873876 #877038 #388749
split-complementary
#384F87 #874938 #768738
monochromatic
#141C30 #26365C #384F87 #4A68B2 #748CC5

Accessibility & contrast

On white

7.97
#384F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#384F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384F87
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384F87#FFFFFF#000000##FFFFFF
##384F871.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375589
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#015B64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #384f87;
/* rgb */ color: rgb(56, 79, 135);
/* oklch */ color: oklch(43.7% 0.097 265.7);
Tailwind
colors: {
  custom: {
    50: '#7580aa',
    500: '#384f87',
    950: '#000000',
  },
}
SCSS
$custom: #384f87;
$custom-light: #7580aa;
$custom-dark: #000000;
JSON
{
  "hex": "#384f87",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 222.532,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.09691,
    "h": 265.7
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#384F87
secondary
#AE9B6D
accent
#AE57D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #384F87

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

Preview Lab → · Contrast checker → · Palette generator →

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