#4A7CE5#4A7CE5

#4A7CE5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.5% C 0.168 H 263.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4A7CE5
RGBrgb(74, 124, 229)
HSLhsl(221, 75%, 59%)
HSVhsv(221, 68%, 90%)
CMYKcmyk(67.7%, 45.9%, 0%, 10.2%)
CIE-LABlab(53.52, 17.12, -58.32)
CIE-LCHlch(53.52, 60.78, 286.36°)
OKLaboklab(60.51% -0.0201 -0.167)
OKLCHoklch(60.51% 0.168 263.1)
XYZxyz(24.1696, 21.5259, 76.9947)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CE5 #E5B34A
analogous
#4ACAE5 #4A7CE5 #664AE5
triadic
#4A7CE5 #E54A7C #7CE54A
tetradic
#4A7CE5 #E54ACA #E5B34A #4AE566
square
#4A7CE5 #E54ACA #E5B34A #4AE566
split-complementary
#4A7CE5 #E5664A #CAE54A
monochromatic
#17429E #1E59D3 #4A7CE5 #80A3ED #B5C9F4

Accessibility & contrast

On white

3.96
#4A7CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4A7CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CE5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CE5#FFFFFF#000000##000000
##4A7CE51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E9
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7ce5;
/* rgb */ color: rgb(74, 124, 229);
/* oklch */ color: oklch(60.5% 0.168 263.1);
Tailwind
colors: {
  custom: {
    50: '#8da1ee',
    500: '#4a7ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ce5;
$custom-light: #8da1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ce5",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 220.645,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.16817,
    "h": 263.1
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#4A7CE5
secondary
#E4D0A7
accent
#B536F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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