#384F8A#384F8A

#384F8A is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.101 H 266.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#384F8A
RGBrgb(56, 79, 138)
HSLhsl(223, 42%, 38%)
HSVhsv(223, 59%, 54%)
CMYKcmyk(59.4%, 42.8%, 0%, 45.9%)
CIE-LABlab(34.53, 10.19, -35.60)
CIE-LCHlch(34.53, 37.03, 285.97°)
OKLaboklab(43.91% -0.0066 -0.1012)
OKLCHoklch(43.91% 0.101 266.3)
XYZxyz(9.0128, 8.2670, 25.1606)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384F8A #8A7338
analogous
#38788A #384F8A #4A388A
triadic
#384F8A #8A384F #4F8A38
tetradic
#384F8A #8A3878 #8A7338 #388A4A
square
#384F8A #8A3878 #8A7338 #388A4A
split-complementary
#384F8A #8A4A38 #788A38
monochromatic
#151D33 #26365E #384F8A #4A68B5 #758CC7

Accessibility & contrast

On white

7.91
#384F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#384F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384F8A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384F8A#FFFFFF#000000##FFFFFF
##384F8A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #384f8a;
/* rgb */ color: rgb(56, 79, 138);
/* oklch */ color: oklch(43.9% 0.101 266.3);
Tailwind
colors: {
  custom: {
    50: '#7680ac',
    500: '#384f8a',
    950: '#000000',
  },
}
SCSS
$custom: #384f8a;
$custom-light: #7680ac;
$custom-dark: #000000;
JSON
{
  "hex": "#384f8a",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 223.171,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.10142,
    "h": 266.3
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#384F8A
secondary
#B09D6E
accent
#AF56D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #384F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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