#385187#385187

#385187 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.094 H 264.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#385187
RGBrgb(56, 81, 135)
HSLhsl(221, 41%, 37%)
HSVhsv(221, 59%, 53%)
CMYKcmyk(58.5%, 40%, 0%, 47.1%)
CIE-LABlab(34.95, 7.81, -33.10)
CIE-LCHlch(34.95, 34.01, 283.28°)
OKLaboklab(44.18% -0.0096 -0.0939)
OKLCHoklch(44.18% 0.094 264.1)
XYZxyz(8.9450, 8.4742, 24.0813)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385187 #876E38
analogous
#387887 #385187 #473887
triadic
#385187 #873851 #518738
tetradic
#385187 #873878 #876E38 #388747
square
#385187 #873878 #876E38 #388747
split-complementary
#385187 #874738 #788738
monochromatic
#141D30 #26375C #385187 #4A6BB2 #748EC5

Accessibility & contrast

On white

7.79
#385187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#385187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385187
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385187#FFFFFF#000000##FFFFFF
##3851871.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #385187;
/* rgb */ color: rgb(56, 81, 135);
/* oklch */ color: oklch(44.2% 0.094 264.1);
Tailwind
colors: {
  custom: {
    50: '#7581aa',
    500: '#385187',
    950: '#000000',
  },
}
SCSS
$custom: #385187;
$custom-light: #7581aa;
$custom-dark: #000000;
JSON
{
  "hex": "#385187",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 221.013,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44181,
    "c": 0.09435,
    "h": 264.1
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#385187
secondary
#AE996D
accent
#AA57D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #385187

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

Preview Lab → · Contrast checker → · Palette generator →

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