#51698E#51698E

#51698E is a mid, moderate blue. Relative luminance 0.138; OKLCH L 51.7% C 0.066 H 258.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#51698E
RGBrgb(81, 105, 142)
HSLhsl(216, 27%, 44%)
HSVhsv(216, 43%, 56%)
CMYKcmyk(43%, 26.1%, 0%, 44.3%)
CIE-LABlab(43.95, 1.34, -23.13)
CIE-LCHlch(43.95, 23.17, 273.31°)
OKLaboklab(51.71% -0.0127 -0.0644)
OKLCHoklch(51.71% 0.066 258.9)
XYZxyz(13.3258, 13.8047, 27.5483)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51698E #8E7651
analogous
#51878E #51698E #57518E
triadic
#51698E #8E5169 #698E51
tetradic
#51698E #8E5187 #8E7651 #518E57
square
#51698E #8E5187 #8E7651 #518E57
split-complementary
#51698E #8E5751 #878E51
monochromatic
#252F40 #3B4C67 #51698E #6F88AD #96A8C3

Accessibility & contrast

On white

5.58
#51698E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#51698E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51698E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51698E#FFFFFF#000000##FFFFFF
##51698E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#55658D
Tritanopia (blue-blind)
#3B7176
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #51698e;
/* rgb */ color: rgb(81, 105, 142);
/* oklch */ color: oklch(51.7% 0.066 258.9);
Tailwind
colors: {
  custom: {
    50: '#8493af',
    500: '#51698e',
    950: '#000000',
  },
}
SCSS
$custom: #51698e;
$custom-light: #8493af;
$custom-dark: #000000;
JSON
{
  "hex": "#51698e",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 142
  },
  "hsl": {
    "h": 216.393,
    "s": 27.354,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.06564,
    "h": 258.9
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#51698E
secondary
#B0A18B
accent
#9E64C4
background
#F8F9FA
surface
#EFF1F4
border
#CACBCE
text
#0B0D10
muted
#7C7E7F

Preview Lab

Preview with #51698E

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

Preview Lab → · Contrast checker → · Palette generator →

#51698E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva