#4A7EC0#4A7EC0

#4A7EC0 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.116 H 255.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4A7EC0
RGBrgb(74, 126, 192)
HSLhsl(214, 48%, 52%)
HSVhsv(214, 61%, 75%)
CMYKcmyk(61.5%, 34.4%, 0%, 24.7%)
CIE-LABlab(52.04, 3.10, -39.73)
CIE-LCHlch(52.04, 39.85, 274.46°)
OKLaboklab(58.7% -0.0298 -0.1124)
OKLCHoklch(58.7% 0.116 255.2)
XYZxyz(19.7959, 20.1815, 52.7111)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EC0 #C08C4A
analogous
#4AB9C0 #4A7EC0 #514AC0
triadic
#4A7EC0 #C04A7E #7EC04A
tetradic
#4A7EC0 #C04AB9 #C08C4A #4AC051
square
#4A7EC0 #C04AB9 #C08C4A #4AC051
split-complementary
#4A7EC0 #C0514A #B9C04A
monochromatic
#25446B #356198 #4A7EC0 #779ED0 #A5BFE0

Accessibility & contrast

On white

4.17
#4A7EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4A7EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EC0#FFFFFF#000000##000000
##4A7EC01.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C3
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7ec0;
/* rgb */ color: rgb(74, 126, 192);
/* oklch */ color: oklch(58.7% 0.116 255.2);
Tailwind
colors: {
  custom: {
    50: '#87a3d3',
    500: '#4a7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ec0;
$custom-light: #87a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ec0",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 213.559,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.11631,
    "h": 255.2
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#4A7EC0
secondary
#CDB699
accent
#9C50D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4A7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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