#4A7EE1#4A7EE1

#4A7EE1 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.161 H 261.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4A7EE1
RGBrgb(74, 126, 225)
HSLhsl(219, 72%, 59%)
HSVhsv(219, 67%, 88%)
CMYKcmyk(67.1%, 44%, 0%, 11.8%)
CIE-LABlab(53.83, 14.49, -55.59)
CIE-LCHlch(53.83, 57.44, 284.61°)
OKLaboklab(60.67% -0.0225 -0.1589)
OKLCHoklch(60.67% 0.161 261.9)
XYZxyz(23.8707, 21.8114, 74.1716)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EE1 #E1AD4A
analogous
#4AC9E1 #4A7EE1 #614AE1
triadic
#4A7EE1 #E14A7E #7EE14A
tetradic
#4A7EE1 #E14AC9 #E1AD4A #4AE161
square
#4A7EE1 #E14AC9 #E1AD4A #4AE161
split-complementary
#4A7EE1 #E1614A #C9E14A
monochromatic
#194597 #225CCC #4A7EE1 #7EA3EA #B3C9F2

Accessibility & contrast

On white

3.92
#4A7EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4A7EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EE1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EE1#FFFFFF#000000##000000
##4A7EE11.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#337ADF
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7ee1;
/* rgb */ color: rgb(74, 126, 225);
/* oklch */ color: oklch(60.7% 0.161 261.9);
Tailwind
colors: {
  custom: {
    50: '#8ca2eb',
    500: '#4a7ee1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ee1;
$custom-light: #8ca2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ee1",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 225
  },
  "hsl": {
    "h": 219.338,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.1605,
    "h": 261.9
  },
  "luminance": 0.21814
}

Semantic roles & 50–950 ramp

primary
#4A7EE1
secondary
#E1CDA6
accent
#B039EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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