#4A7FEB#4A7FEB

#4A7FEB is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.173 H 262.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4A7FEB
RGBrgb(74, 127, 235)
HSLhsl(220, 80%, 61%)
HSVhsv(220, 69%, 92%)
CMYKcmyk(68.5%, 46%, 0%, 7.8%)
CIE-LABlab(54.69, 17.38, -59.80)
CIE-LCHlch(54.69, 62.27, 286.21°)
OKLaboklab(61.52% -0.0218 -0.1713)
OKLCHoklch(61.52% 0.173 262.7)
XYZxyz(25.4035, 22.6302, 81.6104)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FEB #EBB64A
analogous
#4AD0EB #4A7FEB #654AEB
triadic
#4A7FEB #EB4A7F #7FEB4A
tetradic
#4A7FEB #EB4AD0 #EBB64A #4AEB65
square
#4A7FEB #EB4AD0 #EBB64A #4AEB65
split-complementary
#4A7FEB #EB654A #D0EB4A
monochromatic
#1344A8 #195ADF #4A7FEB #81A6F1 #B8CDF7

Accessibility & contrast

On white

3.80
#4A7FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4A7FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FEB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FEB#FFFFFF#000000##000000
##4A7FEB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a7feb;
/* rgb */ color: rgb(74, 127, 235);
/* oklch */ color: oklch(61.5% 0.173 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ea3f2',
    500: '#4a7feb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7feb;
$custom-light: #8ea3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7feb",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 220.248,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.17266,
    "h": 262.7
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#4A7FEB
secondary
#E7D3AA
accent
#9709DC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4A7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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