#4A7FE3#4A7FE3

#4A7FE3 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.162 H 261.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4A7FE3
RGBrgb(74, 127, 227)
HSLhsl(219, 73%, 59%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(67.4%, 44.1%, 0%, 11%)
CIE-LABlab(54.22, 14.57, -56.08)
CIE-LCHlch(54.22, 57.95, 284.57°)
OKLaboklab(61% -0.0231 -0.1603)
OKLCHoklch(61% 0.162 261.8)
XYZxyz(24.2736, 22.1782, 75.6597)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FE3 #E3AE4A
analogous
#4ACBE3 #4A7FE3 #624AE3
triadic
#4A7FE3 #E34A7F #7FE34A
tetradic
#4A7FE3 #E34ACB #E3AE4A #4AE362
square
#4A7FE3 #E34ACB #E3AE4A #4AE362
split-complementary
#4A7FE3 #E3624A #CBE34A
monochromatic
#18459B #205DD0 #4A7FE3 #7FA4EB #B4CAF3

Accessibility & contrast

On white

3.86
#4A7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4A7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FE3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FE3#FFFFFF#000000##000000
##4A7FE31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E7
Deuteranopia (green-blind)
#337BE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4a7fe3;
/* rgb */ color: rgb(74, 127, 227);
/* oklch */ color: oklch(61.0% 0.162 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca3ec',
    500: '#4a7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fe3;
$custom-light: #8ca3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fe3",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 219.216,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61003,
    "c": 0.16201,
    "h": 261.8
  },
  "luminance": 0.22181
}

Semantic roles & 50–950 ramp

primary
#4A7FE3
secondary
#E2CEA6
accent
#B038F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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