#4A7DEB#4A7DEB

#4A7DEB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.1% C 0.175 H 263.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4A7DEB
RGBrgb(74, 125, 235)
HSLhsl(221, 80%, 61%)
HSVhsv(221, 69%, 92%)
CMYKcmyk(68.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(54.15, 18.61, -60.66)
CIE-LCHlch(54.15, 63.45, 287.05°)
OKLaboklab(61.11% -0.0201 -0.1738)
OKLCHoklch(61.11% 0.175 263.4)
XYZxyz(25.1478, 22.1187, 81.5252)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DEB #EBB84A
analogous
#4ACDEB #4A7DEB #674AEB
triadic
#4A7DEB #EB4A7D #7DEB4A
tetradic
#4A7DEB #EB4ACD #EBB84A #4AEB67
square
#4A7DEB #EB4ACD #EBB84A #4AEB67
split-complementary
#4A7DEB #EB674A #CDEB4A
monochromatic
#1342A8 #1958DF #4A7DEB #81A5F1 #B8CCF7

Accessibility & contrast

On white

3.87
#4A7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4A7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DEB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DEB#FFFFFF#000000##000000
##4A7DEB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7deb;
/* rgb */ color: rgb(74, 125, 235);
/* oklch */ color: oklch(61.1% 0.175 263.4);
Tailwind
colors: {
  custom: {
    50: '#8ea2f2',
    500: '#4a7deb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7deb;
$custom-light: #8ea2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7deb",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 220.994,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.17498,
    "h": 263.4
  },
  "luminance": 0.22121
}

Semantic roles & 50–950 ramp

primary
#4A7DEB
secondary
#E7D4AA
accent
#9909DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4A7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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