#395D97#395D97

#395D97 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.0% C 0.103 H 259.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#395D97
RGBrgb(57, 93, 151)
HSLhsl(217, 45%, 41%)
HSVhsv(217, 62%, 59%)
CMYKcmyk(62.3%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.47, 5.95, -35.65)
CIE-LCHlch(39.47, 36.14, 279.47°)
OKLaboklab(47.99% -0.0187 -0.1012)
OKLCHoklch(47.99% 0.103 259.5)
XYZxyz(11.1856, 10.9319, 30.7928)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395D97 #977339
analogous
#398C97 #395D97 #443997
triadic
#395D97 #97395D #5D9739
tetradic
#395D97 #97398C #977339 #399744
square
#395D97 #97398C #977339 #399744
split-complementary
#395D97 #974439 #8C9739
monochromatic
#17263E #28426B #395D97 #507ABD #7D9CCE

Accessibility & contrast

On white

6.59
#395D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#395D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395D97
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395D97#FFFFFF#000000##FFFFFF
##395D971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #395d97;
/* rgb */ color: rgb(57, 93, 151);
/* oklch */ color: oklch(48.0% 0.103 259.5);
Tailwind
colors: {
  custom: {
    50: '#788ab6',
    500: '#395d97',
    950: '#000000',
  },
}
SCSS
$custom: #395d97;
$custom-light: #788ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#395d97",
  "rgb": {
    "r": 57,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 217.021,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.10287,
    "h": 259.5
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

primary
#395D97
secondary
#B79E75
accent
#A353D5
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #395D97

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

Preview Lab → · Contrast checker → · Palette generator →

#395D97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva