#51689F#51689F

#51689F is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.4% C 0.092 H 266.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#51689F
RGBrgb(81, 104, 159)
HSLhsl(222, 33%, 47%)
HSVhsv(222, 49%, 62%)
CMYKcmyk(49.1%, 34.6%, 0%, 37.6%)
CIE-LABlab(44.45, 7.21, -32.46)
CIE-LCHlch(44.45, 33.25, 282.53°)
OKLaboklab(52.35% -0.0063 -0.0913)
OKLCHoklch(52.35% 0.092 266.1)
XYZxyz(14.5996, 14.1522, 34.7565)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51689F #9F8851
analogous
#518F9F #51689F #61519F
triadic
#51689F #9F5168 #689F51
tetradic
#51689F #9F518F #9F8851 #519F61
square
#51689F #9F518F #9F8851 #519F61
split-complementary
#51689F #9F6151 #8F9F51
monochromatic
#28334E #3C4D76 #51689F #7589B9 #9DABCD

Accessibility & contrast

On white

5.48
#51689F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#51689F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51689F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51689F#FFFFFF#000000##FFFFFF
##51689F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536DA1
Deuteranopia (green-blind)
#4B669E
Tritanopia (blue-blind)
#31747C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #51689f;
/* rgb */ color: rgb(81, 104, 159);
/* oklch */ color: oklch(52.4% 0.092 266.1);
Tailwind
colors: {
  custom: {
    50: '#8692bb',
    500: '#51689f',
    950: '#000000',
  },
}
SCSS
$custom: #51689f;
$custom-light: #8692bb;
$custom-dark: #000000;
JSON
{
  "hex": "#51689f",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 159
  },
  "hsl": {
    "h": 222.308,
    "s": 32.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.09156,
    "h": 266.1
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#51689F
secondary
#BAAE92
accent
#AA5FC9
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0D12
muted
#7C7D81

Preview Lab

Preview with #51689F

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

Preview Lab → · Contrast checker → · Palette generator →

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