#395598#395598

#395598 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.114 H 265.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#395598
RGBrgb(57, 85, 152)
HSLhsl(222, 45%, 41%)
HSVhsv(222, 63%, 60%)
CMYKcmyk(62.5%, 44.1%, 0%, 40.4%)
CIE-LABlab(37.18, 11.48, -39.89)
CIE-LCHlch(37.18, 41.51, 286.05°)
OKLaboklab(46.23% -0.0096 -0.1137)
OKLCHoklch(46.23% 0.114 265.2)
XYZxyz(10.6014, 9.6329, 31.0003)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395598 #987C39
analogous
#398498 #395598 #4C3998
triadic
#395598 #983955 #559839
tetradic
#395598 #983984 #987C39 #39984C
square
#395598 #983984 #987C39 #39984C
split-complementary
#395598 #984C39 #849839
monochromatic
#18233F #283C6B #395598 #5171BE #7D95CE

Accessibility & contrast

On white

7.18
#395598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#395598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395598
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395598#FFFFFF#000000##FFFFFF
##3955981.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#285397
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #395598;
/* rgb */ color: rgb(57, 85, 152);
/* oklch */ color: oklch(46.2% 0.114 265.2);
Tailwind
colors: {
  custom: {
    50: '#7884b7',
    500: '#395598',
    950: '#000000',
  },
}
SCSS
$custom: #395598;
$custom-light: #7884b7;
$custom-dark: #000000;
JSON
{
  "hex": "#395598",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 152
  },
  "hsl": {
    "h": 222.316,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.1141,
    "h": 265.2
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#395598
secondary
#B8A475
accent
#AF53D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #395598

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

Preview Lab → · Contrast checker → · Palette generator →

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