#4A7EEB#4A7EEB

#4A7EEB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.174 H 263.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4A7EEB
RGBrgb(74, 126, 235)
HSLhsl(221, 80%, 61%)
HSVhsv(221, 69%, 92%)
CMYKcmyk(68.5%, 46.4%, 0%, 7.8%)
CIE-LABlab(54.42, 17.99, -60.23)
CIE-LCHlch(54.42, 62.86, 286.63°)
OKLaboklab(61.31% -0.0209 -0.1725)
OKLCHoklch(61.31% 0.174 263.1)
XYZxyz(25.2750, 22.3731, 81.5676)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EEB #EBB74A
analogous
#4ACFEB #4A7EEB #664AEB
triadic
#4A7EEB #EB4A7E #7EEB4A
tetradic
#4A7EEB #EB4ACF #EBB74A #4AEB66
square
#4A7EEB #EB4ACF #EBB74A #4AEB66
split-complementary
#4A7EEB #EB664A #CFEB4A
monochromatic
#1343A8 #1959DF #4A7EEB #81A5F1 #B8CDF7

Accessibility & contrast

On white

3.84
#4A7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4A7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EEB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EEB#FFFFFF#000000##000000
##4A7EEB1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4a7eeb;
/* rgb */ color: rgb(74, 126, 235);
/* oklch */ color: oklch(61.3% 0.174 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea2f2',
    500: '#4a7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7eeb;
$custom-light: #8ea2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7eeb",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 220.621,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.17382,
    "h": 263.1
  },
  "luminance": 0.22376
}

Semantic roles & 50–950 ramp

primary
#4A7EEB
secondary
#E7D3AA
accent
#9809DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4A7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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