#385174#385174

#385174 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.1% C 0.066 H 256.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#385174
RGBrgb(56, 81, 116)
HSLhsl(215, 35%, 34%)
HSVhsv(215, 52%, 45%)
CMYKcmyk(51.7%, 30.2%, 0%, 54.5%)
CIE-LABlab(33.95, 1.26, -22.93)
CIE-LCHlch(33.95, 22.97, 273.15°)
OKLaboklab(43.08% -0.0149 -0.0643)
OKLCHoklch(43.08% 0.066 256.9)
XYZxyz(7.7246, 7.9860, 17.6540)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385174 #745B38
analogous
#386F74 #385174 #3D3874
triadic
#385174 #743851 #517438
tetradic
#385174 #74386F #745B38 #38743D
square
#385174 #74386F #745B38 #38743D
split-complementary
#385174 #743D38 #6F7438
monochromatic
#101721 #24344B #385174 #4C6E9D #6E8DB9

Accessibility & contrast

On white

8.09
#385174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#385174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##385174#FFFFFF#000000##FFFFFF
##3851741.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)
#435376
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#1D595D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #385174;
/* rgb */ color: rgb(56, 81, 116);
/* oklch */ color: oklch(43.1% 0.066 256.9);
Tailwind
colors: {
  custom: {
    50: '#72819c',
    500: '#385174',
    950: '#000000',
  },
}
SCSS
$custom: #385174;
$custom-light: #72819c;
$custom-dark: #000000;
JSON
{
  "hex": "#385174",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 215,
    "s": 34.884,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.066,
    "h": 256.9
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#385174
secondary
#A28966
accent
#9D5DCB
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #385174

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

Preview Lab → · Contrast checker → · Palette generator →

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