#395699#395699

#395699 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.5% C 0.114 H 264.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#395699
RGBrgb(57, 86, 153)
HSLhsl(222, 46%, 41%)
HSVhsv(222, 63%, 60%)
CMYKcmyk(62.7%, 43.8%, 0%, 40%)
CIE-LABlab(37.53, 11.19, -39.93)
CIE-LCHlch(37.53, 41.47, 285.65°)
OKLaboklab(46.52% -0.0105 -0.1138)
OKLCHoklch(46.52% 0.114 264.7)
XYZxyz(10.7629, 9.8244, 31.4599)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395699 #997C39
analogous
#398699 #395699 #4C3999
triadic
#395699 #993956 #569939
tetradic
#395699 #993986 #997C39 #39994C
square
#395699 #993986 #997C39 #39994C
split-complementary
#395699 #994C39 #869939
monochromatic
#182440 #283D6C #395699 #5172BE #7E96CF

Accessibility & contrast

On white

7.08
#395699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#395699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395699
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395699#FFFFFF#000000##FFFFFF
##3956991.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#295498
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395699;
/* rgb */ color: rgb(57, 86, 153);
/* oklch */ color: oklch(46.5% 0.114 264.7);
Tailwind
colors: {
  custom: {
    50: '#7985b7',
    500: '#395699',
    950: '#000000',
  },
}
SCSS
$custom: #395699;
$custom-light: #7985b7;
$custom-dark: #000000;
JSON
{
  "hex": "#395699",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 221.875,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.11429,
    "h": 264.7
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#395699
secondary
#B8A476
accent
#AE52D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #395699

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

Preview Lab → · Contrast checker → · Palette generator →

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