#4A7CE3#4A7CE3

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

Color values

HEX#4A7CE3
RGBrgb(74, 124, 227)
HSLhsl(220, 73%, 59%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(67.4%, 45.4%, 0%, 11%)
CIE-LABlab(53.40, 16.41, -57.39)
CIE-LCHlch(53.40, 59.69, 285.96°)
OKLaboklab(60.38% -0.0204 -0.1642)
OKLCHoklch(60.38% 0.166 262.9)
XYZxyz(23.8919, 21.4148, 75.5325)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CE3 #E3B14A
analogous
#4AC9E3 #4A7CE3 #654AE3
triadic
#4A7CE3 #E34A7C #7CE34A
tetradic
#4A7CE3 #E34AC9 #E3B14A #4AE365
square
#4A7CE3 #E34AC9 #E3B14A #4AE365
split-complementary
#4A7CE3 #E3654A #C9E34A
monochromatic
#18439B #2059D0 #4A7CE3 #7FA2EB #B4C9F3

Accessibility & contrast

On white

3.97
#4A7CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7CE3#FFFFFF#000000##000000
##4A7CE31.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E7
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7ce3;
/* rgb */ color: rgb(74, 124, 227);
/* oklch */ color: oklch(60.4% 0.166 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ca1ec',
    500: '#4a7ce3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ce3;
$custom-light: #8ca1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ce3",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 220.392,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.1655,
    "h": 262.9
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#4A7CE3
secondary
#E2CFA6
accent
#B438F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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