#4A7BE0#4A7BE0

#4A7BE0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.163 H 263.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE0
RGBrgb(74, 123, 224)
HSLhsl(220, 71%, 58%)
HSVhsv(220, 67%, 88%)
CMYKcmyk(67%, 45.1%, 0%, 12.2%)
CIE-LABlab(52.95, 15.98, -56.43)
CIE-LCHlch(52.95, 58.65, 285.81°)
OKLaboklab(59.97% -0.0199 -0.1614)
OKLCHoklch(59.97% 0.163 263)
XYZxyz(23.3568, 21.0013, 73.3293)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE0 #E0AF4A
analogous
#4AC6E0 #4A7BE0 #644AE0
triadic
#4A7BE0 #E04A7B #7BE04A
tetradic
#4A7BE0 #E04AC6 #E0AF4A #4AE064
square
#4A7BE0 #E04AC6 #E0AF4A #4AE064
split-complementary
#4A7BE0 #E0644A #C6E04A
monochromatic
#1A4296 #2359CA #4A7BE0 #7EA1E9 #B3C7F2

Accessibility & contrast

On white

4.04
#4A7BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4A7BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE0#FFFFFF#000000##000000
##4A7BE01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E4
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7be0;
/* rgb */ color: rgb(74, 123, 224);
/* oklch */ color: oklch(60.0% 0.163 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ca0ea',
    500: '#4a7be0',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be0;
$custom-light: #8ca0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be0",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 224
  },
  "hsl": {
    "h": 220.4,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.16265,
    "h": 263
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#4A7BE0
secondary
#E1CDA5
accent
#B33AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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