#4A7BE5#4A7BE5

#4A7BE5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.169 H 263.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE5
RGBrgb(74, 123, 229)
HSLhsl(221, 75%, 59%)
HSVhsv(221, 68%, 90%)
CMYKcmyk(67.7%, 46.3%, 0%, 10.2%)
CIE-LABlab(53.25, 17.73, -58.75)
CIE-LCHlch(53.25, 61.37, 286.79°)
OKLaboklab(60.3% -0.0192 -0.1683)
OKLCHoklch(60.3% 0.169 263.5)
XYZxyz(24.0449, 21.2765, 76.9531)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE5 #E5B44A
analogous
#4AC9E5 #4A7BE5 #674AE5
triadic
#4A7BE5 #E54A7B #7BE54A
tetradic
#4A7BE5 #E54AC9 #E5B44A #4AE567
square
#4A7BE5 #E54AC9 #E5B44A #4AE567
split-complementary
#4A7BE5 #E5674A #C9E54A
monochromatic
#17419E #1E58D3 #4A7BE5 #80A2ED #B5C9F4

Accessibility & contrast

On white

4.00
#4A7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4A7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE5#FFFFFF#000000##000000
##4A7BE51.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4487E9
Deuteranopia (green-blind)
#2379E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7be5;
/* rgb */ color: rgb(74, 123, 229);
/* oklch */ color: oklch(60.3% 0.169 263.5);
Tailwind
colors: {
  custom: {
    50: '#8da0ee',
    500: '#4a7be5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be5;
$custom-light: #8da0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be5",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 221.032,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.16935,
    "h": 263.5
  },
  "luminance": 0.21279
}

Semantic roles & 50–950 ramp

primary
#4A7BE5
secondary
#E4D1A7
accent
#B636F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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