#4A7FE6#4A7FE6

#4A7FE6 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.166 H 262.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4A7FE6
RGBrgb(74, 127, 230)
HSLhsl(220, 76%, 60%)
HSVhsv(220, 68%, 90%)
CMYKcmyk(67.8%, 44.8%, 0%, 9.8%)
CIE-LABlab(54.39, 15.62, -57.48)
CIE-LCHlch(54.39, 59.57, 285.21°)
OKLaboklab(61.2% -0.0226 -0.1645)
OKLCHoklch(61.2% 0.166 262.2)
XYZxyz(24.6913, 22.3453, 77.8594)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FE6 #E6B14A
analogous
#4ACDE6 #4A7FE6 #634AE6
triadic
#4A7FE6 #E64A7F #7FE64A
tetradic
#4A7FE6 #E64ACD #E6B14A #4AE663
square
#4A7FE6 #E64ACD #E6B14A #4AE663
split-complementary
#4A7FE6 #E6634A #CDE64A
monochromatic
#1645A0 #1D5CD5 #4A7FE6 #80A5ED #B6CBF5

Accessibility & contrast

On white

3.84
#4A7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4A7FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FE6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FE6#FFFFFF#000000##000000
##4A7FE61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEA
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4a7fe6;
/* rgb */ color: rgb(74, 127, 230);
/* oklch */ color: oklch(61.2% 0.166 262.2);
Tailwind
colors: {
  custom: {
    50: '#8da3ee',
    500: '#4a7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fe6;
$custom-light: #8da3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fe6",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 219.615,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.16601,
    "h": 262.2
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#4A7FE6
secondary
#E4D0A8
accent
#B235F2
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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