#4A7AE0#4A7AE0

#4A7AE0 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.164 H 263.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4A7AE0
RGBrgb(74, 122, 224)
HSLhsl(221, 71%, 58%)
HSVhsv(221, 67%, 88%)
CMYKcmyk(67%, 45.5%, 0%, 12.2%)
CIE-LABlab(52.68, 16.60, -56.86)
CIE-LCHlch(52.68, 59.23, 286.27°)
OKLaboklab(59.77% -0.019 -0.1627)
OKLCHoklch(59.77% 0.164 263.3)
XYZxyz(23.2334, 20.7544, 73.2882)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AE0 #E0B04A
analogous
#4AC5E0 #4A7AE0 #654AE0
triadic
#4A7AE0 #E04A7A #7AE04A
tetradic
#4A7AE0 #E04AC5 #E0B04A #4AE065
square
#4A7AE0 #E04AC5 #E0B04A #4AE065
split-complementary
#4A7AE0 #E0654A #C5E04A
monochromatic
#1A4196 #2358CA #4A7AE0 #7EA0E9 #B3C7F2

Accessibility & contrast

On white

4.08
#4A7AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4A7AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AE0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AE0#FFFFFF#000000##000000
##4A7AE01.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E4
Deuteranopia (green-blind)
#2A77DE
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7ae0;
/* rgb */ color: rgb(74, 122, 224);
/* oklch */ color: oklch(59.8% 0.164 263.3);
Tailwind
colors: {
  custom: {
    50: '#8c9fea',
    500: '#4a7ae0',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ae0;
$custom-light: #8c9fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ae0",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 220.8,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.16383,
    "h": 263.3
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#4A7AE0
secondary
#E1CEA5
accent
#B43AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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