#4A7CE7#4A7CE7

#4A7CE7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.171 H 263.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A7CE7
RGBrgb(74, 124, 231)
HSLhsl(221, 77%, 60%)
HSVhsv(221, 68%, 91%)
CMYKcmyk(68%, 46.3%, 0%, 9.4%)
CIE-LABlab(53.64, 17.82, -59.24)
CIE-LCHlch(53.64, 61.87, 286.74°)
OKLaboklab(60.64% -0.0198 -0.1697)
OKLCHoklch(60.64% 0.171 263.4)
XYZxyz(24.4504, 21.6382, 78.4738)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CE7 #E7B54A
analogous
#4ACAE7 #4A7CE7 #674AE7
triadic
#4A7CE7 #E74A7C #7CE74A
tetradic
#4A7CE7 #E74ACA #E7B54A #4AE767
square
#4A7CE7 #E74ACA #E7B54A #4AE767
split-complementary
#4A7CE7 #E7674A #CAE74A
monochromatic
#1542A1 #1D58D7 #4A7CE7 #80A3EE #B6CAF5

Accessibility & contrast

On white

3.94
#4A7CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4A7CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CE7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CE7#FFFFFF#000000##000000
##4A7CE71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#2379E5
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7ce7;
/* rgb */ color: rgb(74, 124, 231);
/* oklch */ color: oklch(60.6% 0.171 263.4);
Tailwind
colors: {
  custom: {
    50: '#8da1ef',
    500: '#4a7ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ce7;
$custom-light: #8da1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ce7",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 220.892,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.17084,
    "h": 263.4
  },
  "luminance": 0.21641
}

Semantic roles & 50–950 ramp

primary
#4A7CE7
secondary
#E5D1A8
accent
#B635F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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