#384A8A#384A8A

#384A8A is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.108 H 269.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#384A8A
RGBrgb(56, 74, 138)
HSLhsl(227, 42%, 38%)
HSVhsv(227, 59%, 54%)
CMYKcmyk(59.4%, 46.4%, 0%, 45.9%)
CIE-LABlab(33.08, 13.50, -37.93)
CIE-LCHlch(33.08, 40.26, 289.60°)
OKLaboklab(42.8% -0.0008 -0.1081)
OKLCHoklch(42.8% 0.108 269.6)
XYZxyz(8.6656, 7.5726, 25.0448)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384A8A #8A7838
analogous
#38738A #384A8A #4F388A
triadic
#384A8A #8A384A #4A8A38
tetradic
#384A8A #8A3873 #8A7838 #388A4F
square
#384A8A #8A3873 #8A7838 #388A4F
split-complementary
#384A8A #8A4F38 #738A38
monochromatic
#151B33 #26335E #384A8A #4A61B5 #7587C7

Accessibility & contrast

On white

8.35
#384A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#384A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384A8A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384A8A#FFFFFF#000000##FFFFFF
##384A8A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #384a8a;
/* rgb */ color: rgb(56, 74, 138);
/* oklch */ color: oklch(42.8% 0.108 269.6);
Tailwind
colors: {
  custom: {
    50: '#767cac',
    500: '#384a8a',
    950: '#000000',
  },
}
SCSS
$custom: #384a8a;
$custom-light: #767cac;
$custom-dark: #000000;
JSON
{
  "hex": "#384a8a",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 226.829,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.10808,
    "h": 269.6
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#384A8A
secondary
#B0A26E
accent
#B756D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #384A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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