#4A7FC0#4A7FC0

#4A7FC0 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.115 H 254.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4A7FC0
RGBrgb(74, 127, 192)
HSLhsl(213, 48%, 52%)
HSVhsv(213, 61%, 75%)
CMYKcmyk(61.5%, 33.9%, 0%, 24.7%)
CIE-LABlab(52.33, 2.50, -39.27)
CIE-LCHlch(52.33, 39.35, 273.64°)
OKLaboklab(58.93% -0.0308 -0.1111)
OKLCHoklch(58.93% 0.115 254.5)
XYZxyz(19.9244, 20.4385, 52.7540)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FC0 #C08B4A
analogous
#4ABAC0 #4A7FC0 #504AC0
triadic
#4A7FC0 #C04A7F #7FC04A
tetradic
#4A7FC0 #C04ABA #C08B4A #4AC050
square
#4A7FC0 #C04ABA #C08B4A #4AC050
split-complementary
#4A7FC0 #C0504A #BAC04A
monochromatic
#25446B #356198 #4A7FC0 #779FD0 #A5BFE0

Accessibility & contrast

On white

4.13
#4A7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4A7FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FC0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FC0#FFFFFF#000000##000000
##4A7FC01.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C3
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7fc0;
/* rgb */ color: rgb(74, 127, 192);
/* oklch */ color: oklch(58.9% 0.115 254.5);
Tailwind
colors: {
  custom: {
    50: '#87a3d3',
    500: '#4a7fc0',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fc0;
$custom-light: #87a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fc0",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 213.051,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.11531,
    "h": 254.5
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#4A7FC0
secondary
#CDB699
accent
#9B50D8
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4A7FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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