#51668F#51668F

#51668F is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.1% C 0.070 H 263.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#51668F
RGBrgb(81, 102, 143)
HSLhsl(220, 28%, 44%)
HSVhsv(220, 43%, 56%)
CMYKcmyk(43.4%, 28.7%, 0%, 43.9%)
CIE-LABlab(43.11, 3.48, -25.03)
CIE-LCHlch(43.11, 25.27, 277.91°)
OKLaboklab(51.07% -0.0083 -0.0698)
OKLCHoklch(51.07% 0.07 263.2)
XYZxyz(13.1011, 13.2345, 27.8455)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51668F #8F7A51
analogous
#51858F #51668F #5B518F
triadic
#51668F #8F5166 #668F51
tetradic
#51668F #8F5185 #8F7A51 #518F5B
square
#51668F #8F5185 #8F7A51 #518F5B
split-complementary
#51668F #8F5B51 #858F51
monochromatic
#252E41 #3B4A68 #51668F #6F85AE #97A6C4

Accessibility & contrast

On white

5.76
#51668F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#51668F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51668F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51668F#FFFFFF#000000##FFFFFF
##51668F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576991
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#3B6F74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #51668f;
/* rgb */ color: rgb(81, 102, 143);
/* oklch */ color: oklch(51.1% 0.070 263.2);
Tailwind
colors: {
  custom: {
    50: '#8591b0',
    500: '#51668f',
    950: '#000000',
  },
}
SCSS
$custom: #51668f;
$custom-light: #8591b0;
$custom-dark: #000000;
JSON
{
  "hex": "#51668f",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 143
  },
  "hsl": {
    "h": 219.677,
    "s": 27.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.07034,
    "h": 263.2
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#51668F
secondary
#B1A48B
accent
#A364C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #51668F

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

Preview Lab → · Contrast checker → · Palette generator →

#51668F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva