#51839B#51839B

#51839B is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.4% C 0.065 H 230.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#51839B
RGBrgb(81, 131, 155)
HSLhsl(199, 31%, 46%)
HSVhsv(199, 48%, 61%)
CMYKcmyk(47.7%, 15.5%, 0%, 39.2%)
CIE-LABlab(52.23, -10.05, -18.07)
CIE-LCHlch(52.23, 20.68, 240.92°)
OKLaboklab(58.41% -0.0418 -0.05)
OKLCHoklch(58.41% 0.065 230.1)
XYZxyz(17.4239, 20.3472, 34.0132)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51839B #9B6951
analogous
#519B8E #51839B #515E9B
triadic
#51839B #9B5183 #839B51
tetradic
#51839B #8E519B #9B6951 #5E9B51
square
#51839B #8E519B #9B6951 #5E9B51
split-complementary
#51839B #9B515E #9B8E51
monochromatic
#273F4B #3C6173 #51839B #73A0B6 #9BBCCB

Accessibility & contrast

On white

4.14
#51839B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#51839B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51839B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51839B#FFFFFF#000000##000000
##51839B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77819C
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#2E8A8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #51839b;
/* rgb */ color: rgb(81, 131, 155);
/* oklch */ color: oklch(58.4% 0.065 230.1);
Tailwind
colors: {
  custom: {
    50: '#86a7b8',
    500: '#51839b',
    950: '#000000',
  },
}
SCSS
$custom: #51839b;
$custom-light: #86a7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#51839b",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 155
  },
  "hsl": {
    "h": 199.459,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.06523,
    "h": 230.1
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#51839B
secondary
#B89D90
accent
#8260C8
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B0F11
muted
#7C7F80

Preview Lab

Preview with #51839B

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

Preview Lab → · Contrast checker → · Palette generator →

#51839B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva