#4786AB#4786AB

#4786AB is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.086 H 236.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4786AB
RGBrgb(71, 134, 171)
HSLhsl(202, 41%, 47%)
HSVhsv(202, 58%, 67%)
CMYKcmyk(58.5%, 21.6%, 0%, 32.9%)
CIE-LABlab(53.31, -9.12, -25.70)
CIE-LCHlch(53.31, 27.27, 250.47°)
OKLaboklab(59.35% -0.0476 -0.0718)
OKLCHoklch(59.35% 0.086 236.5)
XYZxyz(18.4716, 21.3284, 41.6635)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786AB #AB6C47
analogous
#47AB9E #4786AB #4754AB
triadic
#4786AB #AB4786 #86AB47
tetradic
#4786AB #9E47AB #AB6C47 #54AB47
square
#4786AB #9E47AB #AB6C47 #54AB47
split-complementary
#4786AB #AB4754 #AB9E47
monochromatic
#234255 #356480 #4786AB #6DA3C2 #98BED4

Accessibility & contrast

On white

3.99
#4786AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4786AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786AB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786AB#FFFFFF#000000##000000
##4786AB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#009092
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4786ab;
/* rgb */ color: rgb(71, 134, 171);
/* oklch */ color: oklch(59.3% 0.086 236.5);
Tailwind
colors: {
  custom: {
    50: '#83a9c4',
    500: '#4786ab',
    950: '#000000',
  },
}
SCSS
$custom: #4786ab;
$custom-light: #83a9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4786ab",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 171
  },
  "hsl": {
    "h": 202.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.08619,
    "h": 236.5
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#4786AB
secondary
#C0A08D
accent
#8457D1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4786AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4786AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva