#395F97#395F97

#395F97 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.4% C 0.101 H 258.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#395F97
RGBrgb(57, 95, 151)
HSLhsl(216, 45%, 41%)
HSVhsv(216, 62%, 59%)
CMYKcmyk(62.3%, 37.1%, 0%, 40.8%)
CIE-LABlab(40.06, 4.68, -34.71)
CIE-LCHlch(40.06, 35.02, 277.67°)
OKLaboklab(48.45% -0.0209 -0.0984)
OKLCHoklch(48.45% 0.101 258)
XYZxyz(11.3635, 11.2876, 30.8520)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395F97 #977139
analogous
#398E97 #395F97 #423997
triadic
#395F97 #97395F #5F9739
tetradic
#395F97 #97398E #977139 #399742
square
#395F97 #97398E #977139 #399742
split-complementary
#395F97 #974239 #8E9739
monochromatic
#17273E #28436B #395F97 #507CBD #7D9DCE

Accessibility & contrast

On white

6.45
#395F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#395F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395F97
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395F97#FFFFFF#000000##FFFFFF
##395F971.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #395f97;
/* rgb */ color: rgb(57, 95, 151);
/* oklch */ color: oklch(48.4% 0.101 258.0);
Tailwind
colors: {
  custom: {
    50: '#788cb6',
    500: '#395f97',
    950: '#000000',
  },
}
SCSS
$custom: #395f97;
$custom-light: #788cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#395f97",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 215.745,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.10059,
    "h": 258
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#395F97
secondary
#B79C75
accent
#A053D5
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #395F97

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

Preview Lab → · Contrast checker → · Palette generator →

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