#4786BB#4786BB

#4786BB is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.1% C 0.104 H 246.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4786BB
RGBrgb(71, 134, 187)
HSLhsl(207, 46%, 51%)
HSVhsv(207, 62%, 73%)
CMYKcmyk(62%, 28.3%, 0%, 26.7%)
CIE-LABlab(54.00, -3.89, -33.80)
CIE-LCHlch(54.00, 34.02, 263.44°)
OKLaboklab(60.13% -0.0422 -0.0952)
OKLCHoklch(60.13% 0.104 246.1)
XYZxyz(20.0900, 21.9757, 50.1871)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786BB #BB7C47
analogous
#47BBB6 #4786BB #474CBB
triadic
#4786BB #BB4786 #86BB47
tetradic
#4786BB #B647BB #BB7C47 #4CBB47
square
#4786BB #B647BB #BB7C47 #4CBB47
split-complementary
#4786BB #BB474C #BBB647
monochromatic
#254663 #356690 #4786BB #74A3CC #A0C1DC

Accessibility & contrast

On white

3.89
#4786BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4786BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786BB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786BB#FFFFFF#000000##000000
##4786BB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F87BD
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4786bb;
/* rgb */ color: rgb(71, 134, 187);
/* oklch */ color: oklch(60.1% 0.104 246.1);
Tailwind
colors: {
  custom: {
    50: '#85a9cf',
    500: '#4786bb',
    950: '#000000',
  },
}
SCSS
$custom: #4786bb;
$custom-light: #85a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4786bb",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 207.414,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.10412,
    "h": 246.1
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#4786BB
secondary
#C9AD95
accent
#8E52D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4786BB

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

Preview Lab → · Contrast checker → · Palette generator →

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