#4A7EC2#4A7EC2

#4A7EC2 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.119 H 255.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4A7EC2
RGBrgb(74, 126, 194)
HSLhsl(214, 50%, 53%)
HSVhsv(214, 62%, 76%)
CMYKcmyk(61.9%, 35.1%, 0%, 23.9%)
CIE-LABlab(52.14, 3.77, -40.71)
CIE-LCHlch(52.14, 40.89, 275.30°)
OKLaboklab(58.81% -0.0292 -0.1153)
OKLCHoklch(58.81% 0.119 255.8)
XYZxyz(20.0190, 20.2707, 53.8861)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EC2 #C28E4A
analogous
#4ABAC2 #4A7EC2 #524AC2
triadic
#4A7EC2 #C24A7E #7EC24A
tetradic
#4A7EC2 #C24ABA #C28E4A #4AC252
square
#4A7EC2 #C24ABA #C28E4A #4AC252
split-complementary
#4A7EC2 #C2524A #BAC24A
monochromatic
#25446D #34619B #4A7EC2 #789FD1 #A6BFE1

Accessibility & contrast

On white

4.15
#4A7EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4A7EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EC2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EC2#FFFFFF#000000##000000
##4A7EC21.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7ec2;
/* rgb */ color: rgb(74, 126, 194);
/* oklch */ color: oklch(58.8% 0.119 255.8);
Tailwind
colors: {
  custom: {
    50: '#87a3d5',
    500: '#4a7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ec2;
$custom-light: #87a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ec2",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 214,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.11896,
    "h": 255.8
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#4A7EC2
secondary
#CEB79A
accent
#9D4FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4A7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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