#4A7FE1#4A7FE1

#4A7FE1 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.159 H 261.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4A7FE1
RGBrgb(74, 127, 225)
HSLhsl(219, 72%, 59%)
HSVhsv(219, 67%, 88%)
CMYKcmyk(67.1%, 43.6%, 0%, 11.8%)
CIE-LABlab(54.10, 13.87, -55.15)
CIE-LCHlch(54.10, 56.87, 284.12°)
OKLaboklab(60.88% -0.0235 -0.1576)
OKLCHoklch(60.88% 0.159 261.5)
XYZxyz(23.9992, 22.0684, 74.2144)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FE1 #E1AC4A
analogous
#4ACBE1 #4A7FE1 #604AE1
triadic
#4A7FE1 #E14A7F #7FE14A
tetradic
#4A7FE1 #E14ACB #E1AC4A #4AE160
square
#4A7FE1 #E14ACB #E1AC4A #4AE160
split-complementary
#4A7FE1 #E1604A #CBE14A
monochromatic
#194597 #225ECC #4A7FE1 #7EA4EA #B3C9F2

Accessibility & contrast

On white

3.88
#4A7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4A7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FE1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FE1#FFFFFF#000000##000000
##4A7FE11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7fe1;
/* rgb */ color: rgb(74, 127, 225);
/* oklch */ color: oklch(60.9% 0.159 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca3eb',
    500: '#4a7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fe1;
$custom-light: #8ca3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fe1",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 218.94,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.15935,
    "h": 261.5
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#4A7FE1
secondary
#E1CCA6
accent
#AF39EE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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