#4A7AF0#4A7AF0

#4A7AF0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.185 H 264.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A7AF0
RGBrgb(74, 122, 240)
HSLhsl(223, 85%, 62%)
HSVhsv(223, 69%, 94%)
CMYKcmyk(69.2%, 49.2%, 0%, 5.9%)
CIE-LABlab(53.67, 22.21, -64.22)
CIE-LCHlch(53.67, 67.96, 289.08°)
OKLaboklab(60.84% -0.0168 -0.1844)
OKLCHoklch(60.84% 0.185 264.8)
XYZxyz(25.5062, 21.6636, 85.2585)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AF0 #F0C04A
analogous
#4ACDF0 #4A7AF0 #6D4AF0
triadic
#4A7AF0 #F04A7A #7AF04A
tetradic
#4A7AF0 #F04ACD #F0C04A #4AF06D
square
#4A7AF0 #F04ACD #F0C04A #4AF06D
split-complementary
#4A7AF0 #F06D4A #CDF04A
monochromatic
#0F3EB1 #1351E9 #4A7AF0 #83A4F5 #BBCDF9

Accessibility & contrast

On white

3.94
#4A7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4A7AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AF0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AF0#FFFFFF#000000##000000
##4A7AF01.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7af0;
/* rgb */ color: rgb(74, 122, 240);
/* oklch */ color: oklch(60.8% 0.185 264.8);
Tailwind
colors: {
  custom: {
    50: '#8f9ff6',
    500: '#4a7af0',
    950: '#000000',
  },
}
SCSS
$custom: #4a7af0;
$custom-light: #8f9ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7af0",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 222.651,
    "s": 84.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.18514,
    "h": 264.8
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#4A7AF0
secondary
#EAD8AC
accent
#A104E1
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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