#4A7FE0#4A7FE0

#4A7FE0 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.158 H 261.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A7FE0
RGBrgb(74, 127, 224)
HSLhsl(219, 71%, 58%)
HSVhsv(219, 67%, 88%)
CMYKcmyk(67%, 43.3%, 0%, 12.2%)
CIE-LABlab(54.04, 13.52, -54.68)
CIE-LCHlch(54.04, 56.33, 283.89°)
OKLaboklab(60.81% -0.0237 -0.1562)
OKLCHoklch(60.81% 0.158 261.4)
XYZxyz(23.8632, 22.0140, 73.4981)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FE0 #E0AB4A
analogous
#4ACAE0 #4A7FE0 #604AE0
triadic
#4A7FE0 #E04A7F #7FE04A
tetradic
#4A7FE0 #E04ACA #E0AB4A #4AE060
square
#4A7FE0 #E04ACA #E0AB4A #4AE060
split-complementary
#4A7FE0 #E0604A #CAE04A
monochromatic
#1A4696 #235ECA #4A7FE0 #7EA4E9 #B3C9F2

Accessibility & contrast

On white

3.89
#4A7FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4A7FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FE0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FE0#FFFFFF#000000##000000
##4A7FE01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E4
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7fe0;
/* rgb */ color: rgb(74, 127, 224);
/* oklch */ color: oklch(60.8% 0.158 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ca3ea',
    500: '#4a7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fe0;
$custom-light: #8ca3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fe0",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 218.8,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.15801,
    "h": 261.4
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#4A7FE0
secondary
#E1CCA5
accent
#AE3AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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