#395399#395399

#395399 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.9% C 0.118 H 266.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#395399
RGBrgb(57, 83, 153)
HSLhsl(224, 46%, 41%)
HSVhsv(224, 63%, 60%)
CMYKcmyk(62.7%, 45.8%, 0%, 40%)
CIE-LABlab(36.66, 13.15, -41.32)
CIE-LCHlch(36.66, 43.36, 287.65°)
OKLaboklab(45.86% -0.0073 -0.1179)
OKLCHoklch(45.86% 0.118 266.5)
XYZxyz(10.5284, 9.3554, 31.3818)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395399 #997F39
analogous
#398399 #395399 #4F3999
triadic
#395399 #993953 #539939
tetradic
#395399 #993983 #997F39 #39994F
square
#395399 #993983 #997F39 #39994F
split-complementary
#395399 #994F39 #839939
monochromatic
#182340 #283B6C #395399 #516FBE #7E94CF

Accessibility & contrast

On white

7.31
#395399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#395399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395399
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395399#FFFFFF#000000##FFFFFF
##3953991.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #395399;
/* rgb */ color: rgb(57, 83, 153);
/* oklch */ color: oklch(45.9% 0.118 266.5);
Tailwind
colors: {
  custom: {
    50: '#7983b7',
    500: '#395399',
    950: '#000000',
  },
}
SCSS
$custom: #395399;
$custom-light: #7983b7;
$custom-dark: #000000;
JSON
{
  "hex": "#395399",
  "rgb": {
    "r": 57,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 223.75,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.11813,
    "h": 266.5
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#395399
secondary
#B8A676
accent
#B252D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #395399

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

Preview Lab → · Contrast checker → · Palette generator →

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