#4A7EE9#4A7EE9

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

Color values

HEX#4A7EE9
RGBrgb(74, 126, 233)
HSLhsl(220, 78%, 60%)
HSVhsv(220, 68%, 91%)
CMYKcmyk(68.2%, 45.9%, 0%, 8.6%)
CIE-LABlab(54.30, 17.29, -59.30)
CIE-LCHlch(54.30, 61.77, 286.25°)
OKLaboklab(61.18% -0.0213 -0.1698)
OKLCHoklch(61.18% 0.171 262.9)
XYZxyz(24.9877, 22.2582, 80.0544)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EE9 #E9B54A
analogous
#4ACEE9 #4A7EE9 #654AE9
triadic
#4A7EE9 #E94A7E #7EE94A
tetradic
#4A7EE9 #E94ACE #E9B54A #4AE965
square
#4A7EE9 #E94ACE #E9B54A #4AE965
split-complementary
#4A7EE9 #E9654A #CEE94A
monochromatic
#1443A5 #1B5ADB #4A7EE9 #81A5F0 #B7CCF6

Accessibility & contrast

On white

3.85
#4A7EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4A7EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EE9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EE9#FFFFFF#000000##000000
##4A7EE91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AED
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4a7ee9;
/* rgb */ color: rgb(74, 126, 233);
/* oklch */ color: oklch(61.2% 0.171 262.9);
Tailwind
colors: {
  custom: {
    50: '#8da2f1',
    500: '#4a7ee9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ee9;
$custom-light: #8da2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ee9",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 220.377,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.17116,
    "h": 262.9
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#4A7EE9
secondary
#E6D2A9
accent
#970BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4A7EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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