#395899#395899

#395899 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.0% C 0.112 H 263.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#395899
RGBrgb(57, 88, 153)
HSLhsl(221, 46%, 41%)
HSVhsv(221, 63%, 60%)
CMYKcmyk(62.7%, 42.5%, 0%, 40%)
CIE-LABlab(38.11, 9.89, -39.01)
CIE-LCHlch(38.11, 40.24, 284.22°)
OKLaboklab(46.97% -0.0127 -0.1111)
OKLCHoklch(46.97% 0.112 263.5)
XYZxyz(10.9248, 10.1482, 31.5139)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395899 #997A39
analogous
#398899 #395899 #4A3999
triadic
#395899 #993958 #589939
tetradic
#395899 #993988 #997A39 #39994A
square
#395899 #993988 #997A39 #39994A
split-complementary
#395899 #994A39 #889939
monochromatic
#182540 #283E6C #395899 #5174BE #7E98CF

Accessibility & contrast

On white

6.93
#395899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#395899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395899
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395899#FFFFFF#000000##FFFFFF
##3958991.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#2D5698
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #395899;
/* rgb */ color: rgb(57, 88, 153);
/* oklch */ color: oklch(47.0% 0.112 263.5);
Tailwind
colors: {
  custom: {
    50: '#7986b7',
    500: '#395899',
    950: '#000000',
  },
}
SCSS
$custom: #395899;
$custom-light: #7986b7;
$custom-dark: #000000;
JSON
{
  "hex": "#395899",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 220.625,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4697,
    "c": 0.11178,
    "h": 263.5
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#395899
secondary
#B8A376
accent
#AB52D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #395899

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

Preview Lab → · Contrast checker → · Palette generator →

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