#4A7EB8#4A7EB8

#4A7EB8 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.106 H 252.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4A7EB8
RGBrgb(74, 126, 184)
HSLhsl(212, 44%, 51%)
HSVhsv(212, 60%, 72%)
CMYKcmyk(59.8%, 31.5%, 0%, 27.8%)
CIE-LABlab(51.65, 0.41, -35.75)
CIE-LCHlch(51.65, 35.75, 270.66°)
OKLaboklab(58.27% -0.032 -0.1009)
OKLCHoklch(58.27% 0.106 252.4)
XYZxyz(18.9335, 19.8366, 48.1692)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EB8 #B8844A
analogous
#4AB5B8 #4A7EB8 #4D4AB8
triadic
#4A7EB8 #B84A7E #7EB84A
tetradic
#4A7EB8 #B84AB5 #B8844A #4AB84D
square
#4A7EB8 #B84AB5 #B8844A #4AB84D
split-complementary
#4A7EB8 #B84D4A #B5B84A
monochromatic
#264261 #37608D #4A7EB8 #769DC9 #A2BDDA

Accessibility & contrast

On white

4.23
#4A7EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4A7EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EB8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EB8#FFFFFF#000000##000000
##4A7EB81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681BA
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7eb8;
/* rgb */ color: rgb(74, 126, 184);
/* oklch */ color: oklch(58.3% 0.106 252.4);
Tailwind
colors: {
  custom: {
    50: '#86a3cd',
    500: '#4a7eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7eb8;
$custom-light: #86a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7eb8",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 211.636,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.10582,
    "h": 252.4
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#4A7EB8
secondary
#C7B096
accent
#9754D3
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4A7EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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