#385188#385188

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

Color values

HEX#385188
RGBrgb(56, 81, 136)
HSLhsl(221, 42%, 38%)
HSVhsv(221, 59%, 53%)
CMYKcmyk(58.8%, 40.4%, 0%, 46.7%)
CIE-LABlab(35.01, 8.17, -33.62)
CIE-LCHlch(35.01, 34.60, 283.65°)
OKLaboklab(44.24% -0.0094 -0.0954)
OKLCHoklch(44.24% 0.096 264.4)
XYZxyz(9.0157, 8.5025, 24.4538)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385188 #886F38
analogous
#387988 #385188 #473888
triadic
#385188 #883851 #518838
tetradic
#385188 #883879 #886F38 #388847
square
#385188 #883879 #886F38 #388847
split-complementary
#385188 #884738 #798838
monochromatic
#141D31 #26375D #385188 #4A6BB3 #748EC6

Accessibility & contrast

On white

7.78
#385188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #385188
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385188#FFFFFF#000000##FFFFFF
##3851881.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A568A
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #385188;
/* rgb */ color: rgb(56, 81, 136);
/* oklch */ color: oklch(44.2% 0.096 264.4);
Tailwind
colors: {
  custom: {
    50: '#7581ab',
    500: '#385188',
    950: '#000000',
  },
}
SCSS
$custom: #385188;
$custom-light: #7581ab;
$custom-dark: #000000;
JSON
{
  "hex": "#385188",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 221.25,
    "s": 41.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.09585,
    "h": 264.4
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#385188
secondary
#AF9A6D
accent
#AB56D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #385188

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

Preview Lab → · Contrast checker → · Palette generator →

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