#4A6787#4A6787

#4A6787 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.062 H 251.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4A6787
RGBrgb(74, 103, 135)
HSLhsl(211, 29%, 41%)
HSVhsv(211, 45%, 53%)
CMYKcmyk(45.2%, 23.7%, 0%, 47.1%)
CIE-LABlab(42.62, -1.52, -21.03)
CIE-LCHlch(42.62, 21.08, 265.87°)
OKLaboklab(50.45% -0.0196 -0.0585)
OKLCHoklch(50.45% 0.062 251.5)
XYZxyz(12.0460, 12.9049, 24.7731)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6787 #876A4A
analogous
#4A8587 #4A6787 #4B4A87
triadic
#4A6787 #874A67 #67874A
tetradic
#4A6787 #874A85 #876A4A #4A874B
square
#4A6787 #874A85 #876A4A #4A874B
split-complementary
#4A6787 #874B4A #85874A
monochromatic
#1F2B38 #34495F #4A6787 #6485AA #8CA4C0

Accessibility & contrast

On white

5.86
#4A6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6787
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6787#FFFFFF#000000##FFFFFF
##4A67871.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#536286
Tritanopia (blue-blind)
#326E72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a6787;
/* rgb */ color: rgb(74, 103, 135);
/* oklch */ color: oklch(50.4% 0.062 251.5);
Tailwind
colors: {
  custom: {
    50: '#7f92aa',
    500: '#4a6787',
    950: '#000000',
  },
}
SCSS
$custom: #4a6787;
$custom-light: #7f92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6787",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 211.475,
    "s": 29.187,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.06168,
    "h": 251.5
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#4A6787
secondary
#AC9781
accent
#9662C5
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0D10
muted
#7C7D7F

Preview Lab

Preview with #4A6787

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

Preview Lab → · Contrast checker → · Palette generator →

#4A6787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva