#51A7D2#51A7D2

#51A7D2 is a light, moderate cyan. Relative luminance 0.340; OKLCH L 69.3% C 0.104 H 232.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#51A7D2
RGBrgb(81, 167, 210)
HSLhsl(200, 59%, 57%)
HSVhsv(200, 61%, 82%)
CMYKcmyk(61.4%, 20.5%, 0%, 17.6%)
CIE-LABlab(64.99, -13.11, -29.63)
CIE-LCHlch(64.99, 32.40, 246.12°)
OKLaboklab(69.26% -0.0629 -0.0829)
OKLCHoklch(69.26% 0.104 232.8)
XYZxyz(28.8404, 34.0370, 66.0102)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A7D2 #D27C51
analogous
#51D2BD #51A7D2 #5167D2
triadic
#51A7D2 #D251A7 #A7D251
tetradic
#51A7D2 #BD51D2 #D27C51 #67D251
square
#51A7D2 #BD51D2 #D27C51 #67D251
split-complementary
#51A7D2 #D25167 #D2BD51
monochromatic
#236586 #2F89B7 #51A7D2 #82C0DF #B2D8EB

Accessibility & contrast

On white

2.69
#51A7D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#51A7D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A7D2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A7D2#FFFFFF#000000##000000
##51A7D21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D4
Deuteranopia (green-blind)
#8098D1
Tritanopia (blue-blind)
#00B3B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51a7d2;
/* rgb */ color: rgb(81, 167, 210);
/* oklch */ color: oklch(69.3% 0.104 232.8);
Tailwind
colors: {
  custom: {
    50: '#8dc1e0',
    500: '#51a7d2',
    950: '#000000',
  },
}
SCSS
$custom: #51a7d2;
$custom-light: #8dc1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#51a7d2",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 210
  },
  "hsl": {
    "h": 200,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.69259,
    "c": 0.10406,
    "h": 232.8
  },
  "luminance": 0.3404
}

Semantic roles & 50–950 ramp

primary
#51A7D2
secondary
#DAB7A5
accent
#7A46E2
background
#F9FBFD
surface
#F1F7FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #51A7D2

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

Preview Lab → · Contrast checker → · Palette generator →

#51A7D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva