#4A7BE7#4A7BE7

#4A7BE7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.172 H 263.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE7
RGBrgb(74, 123, 231)
HSLhsl(221, 77%, 60%)
HSVhsv(221, 68%, 91%)
CMYKcmyk(68%, 46.8%, 0%, 9.4%)
CIE-LABlab(53.37, 18.43, -59.68)
CIE-LCHlch(53.37, 62.46, 287.17°)
OKLaboklab(60.43% -0.0189 -0.171)
OKLCHoklch(60.43% 0.172 263.7)
XYZxyz(24.3257, 21.3888, 78.4323)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE7 #E7B64A
analogous
#4AC9E7 #4A7BE7 #684AE7
triadic
#4A7BE7 #E74A7B #7BE74A
tetradic
#4A7BE7 #E74AC9 #E7B64A #4AE768
square
#4A7BE7 #E74AC9 #E7B64A #4AE768
split-complementary
#4A7BE7 #E7684A #C9E74A
monochromatic
#1541A1 #1D57D7 #4A7BE7 #80A2EE #B6CAF5

Accessibility & contrast

On white

3.98
#4A7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4A7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE7#FFFFFF#000000##000000
##4A7BE71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7be7;
/* rgb */ color: rgb(74, 123, 231);
/* oklch */ color: oklch(60.4% 0.172 263.7);
Tailwind
colors: {
  custom: {
    50: '#8da0ef',
    500: '#4a7be7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be7;
$custom-light: #8da0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be7",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 221.274,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.17202,
    "h": 263.7
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#4A7BE7
secondary
#E5D2A8
accent
#B835F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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