#395FA7#395FA7

#395FA7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.123 H 261.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#395FA7
RGBrgb(57, 95, 167)
HSLhsl(219, 49%, 44%)
HSVhsv(219, 66%, 65%)
CMYKcmyk(65.9%, 43.1%, 0%, 34.5%)
CIE-LABlab(40.97, 10.43, -42.80)
CIE-LCHlch(40.97, 44.05, 283.69°)
OKLaboklab(49.44% -0.0173 -0.1221)
OKLCHoklch(49.44% 0.123 261.9)
XYZxyz(12.7521, 11.8431, 38.1656)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FA7 #A78139
analogous
#3996A7 #395FA7 #4A39A7
triadic
#395FA7 #A7395F #5FA739
tetradic
#395FA7 #A73996 #A78139 #39A74A
square
#395FA7 #A73996 #A78139 #39A74A
split-complementary
#395FA7 #A74A39 #96A739
monochromatic
#1A2B4C #294579 #395FA7 #577EC6 #85A1D5

Accessibility & contrast

On white

6.23
#395FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#395FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FA7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FA7#FFFFFF#000000##FFFFFF
##395FA71.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#2C5CA6
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #395fa7;
/* rgb */ color: rgb(57, 95, 167);
/* oklch */ color: oklch(49.4% 0.123 261.9);
Tailwind
colors: {
  custom: {
    50: '#7b8cc1',
    500: '#395fa7',
    950: '#000000',
  },
}
SCSS
$custom: #395fa7;
$custom-light: #7b8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#395fa7",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 219.273,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.12331,
    "h": 261.9
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#395FA7
secondary
#BFA87D
accent
#A94FD9
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #395FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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