#395898#395898

#395898 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.110 H 263.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#395898
RGBrgb(57, 88, 152)
HSLhsl(220, 45%, 41%)
HSVhsv(220, 63%, 60%)
CMYKcmyk(62.5%, 42.1%, 0%, 40.4%)
CIE-LABlab(38.05, 9.53, -38.50)
CIE-LCHlch(38.05, 39.66, 283.90°)
OKLaboklab(46.91% -0.0129 -0.1096)
OKLCHoklch(46.91% 0.11 263.3)
XYZxyz(10.8426, 10.1153, 31.0807)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395898 #987939
analogous
#398798 #395898 #493998
triadic
#395898 #983958 #589839
tetradic
#395898 #983987 #987939 #399849
square
#395898 #983987 #987939 #399849
split-complementary
#395898 #984939 #879839
monochromatic
#18243F #283E6B #395898 #5174BE #7D98CE

Accessibility & contrast

On white

6.95
#395898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#395898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395898
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395898#FFFFFF#000000##FFFFFF
##3958981.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#2E5697
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #395898;
/* rgb */ color: rgb(57, 88, 152);
/* oklch */ color: oklch(46.9% 0.110 263.3);
Tailwind
colors: {
  custom: {
    50: '#7886b7',
    500: '#395898',
    950: '#000000',
  },
}
SCSS
$custom: #395898;
$custom-light: #7886b7;
$custom-dark: #000000;
JSON
{
  "hex": "#395898",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 220.421,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.11033,
    "h": 263.3
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#395898
secondary
#B8A275
accent
#AB53D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #395898

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

Preview Lab → · Contrast checker → · Palette generator →

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