#385197#385197

#385197 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.118 H 266.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#385197
RGBrgb(56, 81, 151)
HSLhsl(224, 46%, 41%)
HSVhsv(224, 63%, 59%)
CMYKcmyk(62.9%, 46.4%, 0%, 40.8%)
CIE-LABlab(35.91, 13.54, -41.32)
CIE-LCHlch(35.91, 43.48, 288.15°)
OKLaboklab(45.22% -0.0064 -0.118)
OKLCHoklch(45.22% 0.118 266.9)
XYZxyz(10.1573, 8.9591, 30.4662)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385197 #977E38
analogous
#388097 #385197 #4F3897
triadic
#385197 #973851 #519738
tetradic
#385197 #973880 #977E38 #38974F
square
#385197 #973880 #977E38 #38974F
split-complementary
#385197 #974F38 #809738
monochromatic
#17213E #27396A #385197 #4F6CBE #7B91CE

Accessibility & contrast

On white

7.52
#385197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#385197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385197
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385197#FFFFFF#000000##FFFFFF
##3851971.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #385197;
/* rgb */ color: rgb(56, 81, 151);
/* oklch */ color: oklch(45.2% 0.118 266.9);
Tailwind
colors: {
  custom: {
    50: '#7881b6',
    500: '#385197',
    950: '#000000',
  },
}
SCSS
$custom: #385197;
$custom-light: #7881b6;
$custom-dark: #000000;
JSON
{
  "hex": "#385197",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 224.211,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.11814,
    "h": 266.9
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#385197
secondary
#B7A573
accent
#B352D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #385197

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

Preview Lab → · Contrast checker → · Palette generator →

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