#395088#395088

#395088 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.097 H 265.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#395088
RGBrgb(57, 80, 136)
HSLhsl(223, 41%, 38%)
HSVhsv(223, 58%, 53%)
CMYKcmyk(58.1%, 41.2%, 0%, 46.7%)
CIE-LABlab(34.77, 9.05, -34.00)
CIE-LCHlch(34.77, 35.18, 284.90°)
OKLaboklab(44.08% -0.0072 -0.0965)
OKLCHoklch(44.08% 0.097 265.7)
XYZxyz(8.9984, 8.3841, 24.4319)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395088 #887139
analogous
#397788 #395088 #493988
triadic
#395088 #883950 #508839
tetradic
#395088 #883977 #887139 #398849
square
#395088 #883977 #887139 #398849
split-complementary
#395088 #884939 #778839
monochromatic
#151D32 #27375D #395088 #4B69B3 #768DC6

Accessibility & contrast

On white

7.84
#395088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#395088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395088
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395088#FFFFFF#000000##FFFFFF
##3950881.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568A
Deuteranopia (green-blind)
#2F4E87
Tritanopia (blue-blind)
#045C65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #395088;
/* rgb */ color: rgb(57, 80, 136);
/* oklch */ color: oklch(44.1% 0.097 265.7);
Tailwind
colors: {
  custom: {
    50: '#7680ab',
    500: '#395088',
    950: '#000000',
  },
}
SCSS
$custom: #395088;
$custom-light: #7680ab;
$custom-dark: #000000;
JSON
{
  "hex": "#395088",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 136
  },
  "hsl": {
    "h": 222.532,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.09675,
    "h": 265.7
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#395088
secondary
#AF9C6E
accent
#AD57D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #395088

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

Preview Lab → · Contrast checker → · Palette generator →

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