#385178#385178

#385178 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.3% C 0.072 H 259.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#385178
RGBrgb(56, 81, 120)
HSLhsl(217, 36%, 35%)
HSVhsv(217, 53%, 47%)
CMYKcmyk(53.3%, 32.5%, 0%, 52.9%)
CIE-LABlab(34.15, 2.61, -25.11)
CIE-LCHlch(34.15, 25.24, 275.93°)
OKLaboklab(43.3% -0.0137 -0.0706)
OKLCHoklch(43.3% 0.072 259)
XYZxyz(7.9623, 8.0811, 18.9059)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385178 #785F38
analogous
#387178 #385178 #3F3878
triadic
#385178 #783851 #517838
tetradic
#385178 #783871 #785F38 #38783F
square
#385178 #783871 #785F38 #38783F
split-complementary
#385178 #783F38 #717838
monochromatic
#111925 #25354E #385178 #4B6DA2 #6F8DBC

Accessibility & contrast

On white

8.03
#385178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#385178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385178
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385178#FFFFFF#000000##FFFFFF
##3851781.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#3A4E77
Tritanopia (blue-blind)
#195A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #385178;
/* rgb */ color: rgb(56, 81, 120);
/* oklch */ color: oklch(43.3% 0.072 259.0);
Tailwind
colors: {
  custom: {
    50: '#73819f',
    500: '#385178',
    950: '#000000',
  },
}
SCSS
$custom: #385178;
$custom-light: #73819f;
$custom-dark: #000000;
JSON
{
  "hex": "#385178",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 216.563,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.0719,
    "h": 259
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#385178
secondary
#A58D67
accent
#A05BCC
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #385178

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

Preview Lab → · Contrast checker → · Palette generator →

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