#4A7EE3#4A7EE3

#4A7EE3 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.163 H 262.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4A7EE3
RGBrgb(74, 126, 227)
HSLhsl(220, 73%, 59%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(67.4%, 44.5%, 0%, 11%)
CIE-LABlab(53.94, 15.19, -56.52)
CIE-LCHlch(53.94, 58.53, 285.04°)
OKLaboklab(60.79% -0.0222 -0.1616)
OKLCHoklch(60.79% 0.163 262.2)
XYZxyz(24.1451, 21.9212, 75.6169)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EE3 #E3AF4A
analogous
#4ACBE3 #4A7EE3 #634AE3
triadic
#4A7EE3 #E34A7E #7EE34A
tetradic
#4A7EE3 #E34ACB #E3AF4A #4AE363
square
#4A7EE3 #E34ACB #E3AF4A #4AE363
split-complementary
#4A7EE3 #E3634A #CBE34A
monochromatic
#18449B #205CD0 #4A7EE3 #7FA4EB #B4CAF3

Accessibility & contrast

On white

3.90
#4A7EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4A7EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EE3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EE3#FFFFFF#000000##000000
##4A7EE31.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E7
Deuteranopia (green-blind)
#307AE1
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7ee3;
/* rgb */ color: rgb(74, 126, 227);
/* oklch */ color: oklch(60.8% 0.163 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ca2ec',
    500: '#4a7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ee3;
$custom-light: #8ca2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ee3",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 219.608,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.16317,
    "h": 262.2
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#4A7EE3
secondary
#E2CEA6
accent
#B138F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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