#4786A2#4786A2

#4786A2 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.078 H 229.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4786A2
RGBrgb(71, 134, 162)
HSLhsl(198, 39%, 46%)
HSVhsv(198, 56%, 64%)
CMYKcmyk(56.2%, 17.3%, 0%, 36.5%)
CIE-LABlab(52.95, -11.96, -21.07)
CIE-LCHlch(52.95, 24.23, 240.41°)
OKLaboklab(58.94% -0.0509 -0.0586)
OKLCHoklch(58.94% 0.078 229)
XYZxyz(17.6427, 20.9968, 37.2985)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786A2 #A26347
analogous
#47A290 #4786A2 #4758A2
triadic
#4786A2 #A24786 #86A247
tetradic
#4786A2 #9047A2 #A26347 #58A247
square
#4786A2 #9047A2 #A26347 #58A247
split-complementary
#4786A2 #A24758 #A29047
monochromatic
#22404D #346377 #4786A2 #69A3BD #94BDD0

Accessibility & contrast

On white

4.04
#4786A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4786A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786A2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786A2#FFFFFF#000000##000000
##4786A21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A3
Deuteranopia (green-blind)
#6B7AA2
Tritanopia (blue-blind)
#008E8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4786a2;
/* rgb */ color: rgb(71, 134, 162);
/* oklch */ color: oklch(58.9% 0.078 229.0);
Tailwind
colors: {
  custom: {
    50: '#82a9bd',
    500: '#4786a2',
    950: '#000000',
  },
}
SCSS
$custom: #4786a2;
$custom-light: #82a9bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4786a2",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 162
  },
  "hsl": {
    "h": 198.462,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.07766,
    "h": 229
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#4786A2
secondary
#BC9989
accent
#7D59CF
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4786A2

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

Preview Lab → · Contrast checker → · Palette generator →

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