#4A7CE4#4A7CE4

#4A7CE4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.167 H 263.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4A7CE4
RGBrgb(74, 124, 228)
HSLhsl(221, 74%, 59%)
HSVhsv(221, 68%, 89%)
CMYKcmyk(67.5%, 45.6%, 0%, 10.6%)
CIE-LABlab(53.46, 16.76, -57.86)
CIE-LCHlch(53.46, 60.24, 286.16°)
OKLaboklab(60.44% -0.0202 -0.1656)
OKLCHoklch(60.44% 0.167 263)
XYZxyz(24.0303, 21.4702, 76.2615)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CE4 #E4B24A
analogous
#4AC9E4 #4A7CE4 #654AE4
triadic
#4A7CE4 #E44A7C #7CE44A
tetradic
#4A7CE4 #E44AC9 #E4B24A #4AE465
square
#4A7CE4 #E44AC9 #E4B24A #4AE465
split-complementary
#4A7CE4 #E4654A #C9E44A
monochromatic
#17429C #1F59D2 #4A7CE4 #7FA3EC #B5C9F4

Accessibility & contrast

On white

3.97
#4A7CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4A7CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CE4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CE4#FFFFFF#000000##000000
##4A7CE41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#2979E2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7ce4;
/* rgb */ color: rgb(74, 124, 228);
/* oklch */ color: oklch(60.4% 0.167 263.0);
Tailwind
colors: {
  custom: {
    50: '#8da1ed',
    500: '#4a7ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ce4;
$custom-light: #8da1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ce4",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 220.519,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60442,
    "c": 0.16684,
    "h": 263
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#4A7CE4
secondary
#E3CFA7
accent
#B437F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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