#385179#385179

#385179 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.073 H 259.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#385179
RGBrgb(56, 81, 121)
HSLhsl(217, 37%, 35%)
HSVhsv(217, 54%, 47%)
CMYKcmyk(53.7%, 33.1%, 0%, 52.5%)
CIE-LABlab(34.20, 2.95, -25.65)
CIE-LCHlch(34.20, 25.82, 276.56°)
OKLaboklab(43.35% -0.0134 -0.0722)
OKLCHoklch(43.35% 0.073 259.5)
XYZxyz(8.0233, 8.1055, 19.2272)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385179 #796038
analogous
#387279 #385179 #403879
triadic
#385179 #793851 #517938
tetradic
#385179 #793872 #796038 #387940
square
#385179 #793872 #796038 #387940
split-complementary
#385179 #794038 #727938
monochromatic
#111925 #25354F #385179 #4B6DA3 #6F8DBC

Accessibility & contrast

On white

8.01
#385179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #385179
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385179#FFFFFF#000000##FFFFFF
##3851791.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#185A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #385179;
/* rgb */ color: rgb(56, 81, 121);
/* oklch */ color: oklch(43.4% 0.073 259.5);
Tailwind
colors: {
  custom: {
    50: '#7381a0',
    500: '#385179',
    950: '#000000',
  },
}
SCSS
$custom: #385179;
$custom-light: #7381a0;
$custom-dark: #000000;
JSON
{
  "hex": "#385179",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 216.923,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.07338,
    "h": 259.5
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#385179
secondary
#A58E67
accent
#A15BCD
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #385179

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

Preview Lab → · Contrast checker → · Palette generator →

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