#385797#385797

#385797 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.6% C 0.110 H 263.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#385797
RGBrgb(56, 87, 151)
HSLhsl(220, 46%, 41%)
HSVhsv(220, 63%, 59%)
CMYKcmyk(62.9%, 42.4%, 0%, 40.8%)
CIE-LABlab(37.65, 9.62, -38.54)
CIE-LCHlch(37.65, 39.72, 284.01°)
OKLaboklab(46.56% -0.013 -0.1097)
OKLCHoklch(46.56% 0.11 263.3)
XYZxyz(10.6231, 9.8906, 30.6214)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385797 #977838
analogous
#388697 #385797 #483897
triadic
#385797 #973857 #579738
tetradic
#385797 #973886 #977838 #389748
square
#385797 #973886 #977838 #389748
split-complementary
#385797 #974838 #869738
monochromatic
#17243E #273D6A #385797 #4F73BE #7B96CE

Accessibility & contrast

On white

7.05
#385797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#385797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385797
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385797#FFFFFF#000000##FFFFFF
##3857971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #385797;
/* rgb */ color: rgb(56, 87, 151);
/* oklch */ color: oklch(46.6% 0.110 263.3);
Tailwind
colors: {
  custom: {
    50: '#7886b6',
    500: '#385797',
    950: '#000000',
  },
}
SCSS
$custom: #385797;
$custom-light: #7886b6;
$custom-dark: #000000;
JSON
{
  "hex": "#385797",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 220.421,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.11049,
    "h": 263.3
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#385797
secondary
#B7A173
accent
#AB52D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #385797

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

Preview Lab → · Contrast checker → · Palette generator →

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