#4786CF#4786CF

#4786CF is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.2% C 0.129 H 253.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4786CF
RGBrgb(71, 134, 207)
HSLhsl(212, 59%, 55%)
HSVhsv(212, 66%, 81%)
CMYKcmyk(65.7%, 35.3%, 0%, 18.8%)
CIE-LABlab(54.96, 2.89, -43.65)
CIE-LCHlch(54.96, 43.75, 273.79°)
OKLaboklab(61.2% -0.0365 -0.1239)
OKLCHoklch(61.2% 0.129 253.6)
XYZxyz(22.3820, 22.8925, 62.2585)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786CF #CF9047
analogous
#47CACF #4786CF #4C47CF
triadic
#4786CF #CF4786 #86CF47
tetradic
#4786CF #CF47CA #CF9047 #47CF4C
square
#4786CF #CF47CA #CF9047 #47CF4C
split-complementary
#4786CF #CF4C47 #CACF47
monochromatic
#204A7B #2D68AC #4786CF #78A6DC #A8C6E8

Accessibility & contrast

On white

3.76
#4786CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4786CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786CF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786CF#FFFFFF#000000##000000
##4786CF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD2
Deuteranopia (green-blind)
#537ECE
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4786cf;
/* rgb */ color: rgb(71, 134, 207);
/* oklch */ color: oklch(61.2% 0.129 253.6);
Tailwind
colors: {
  custom: {
    50: '#88a8de',
    500: '#4786cf',
    950: '#000000',
  },
}
SCSS
$custom: #4786cf;
$custom-light: #88a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#4786cf",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 212.206,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.12913,
    "h": 253.6
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#4786CF
secondary
#D6BB9C
accent
#9A46E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4786CF

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

Preview Lab → · Contrast checker → · Palette generator →

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