#384D8A#384D8A

#384D8A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.104 H 267.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#384D8A
RGBrgb(56, 77, 138)
HSLhsl(225, 42%, 38%)
HSVhsv(225, 59%, 54%)
CMYKcmyk(59.4%, 44.2%, 0%, 45.9%)
CIE-LABlab(33.95, 11.51, -36.54)
CIE-LCHlch(33.95, 38.31, 287.49°)
OKLaboklab(43.46% -0.0043 -0.104)
OKLCHoklch(43.46% 0.104 267.7)
XYZxyz(8.8707, 7.9828, 25.1132)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384D8A #8A7538
analogous
#38768A #384D8A #4C388A
triadic
#384D8A #8A384D #4D8A38
tetradic
#384D8A #8A3876 #8A7538 #388A4C
square
#384D8A #8A3876 #8A7538 #388A4C
split-complementary
#384D8A #8A4C38 #768A38
monochromatic
#151C33 #26355E #384D8A #4A65B5 #758AC7

Accessibility & contrast

On white

8.09
#384D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#384D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384D8A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384D8A#FFFFFF#000000##FFFFFF
##384D8A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #384d8a;
/* rgb */ color: rgb(56, 77, 138);
/* oklch */ color: oklch(43.5% 0.104 267.7);
Tailwind
colors: {
  custom: {
    50: '#767eac',
    500: '#384d8a',
    950: '#000000',
  },
}
SCSS
$custom: #384d8a;
$custom-light: #767eac;
$custom-dark: #000000;
JSON
{
  "hex": "#384d8a",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 224.634,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.10406,
    "h": 267.7
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#384D8A
secondary
#B09F6E
accent
#B256D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #384D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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