#4A87E3#4A87E3

#4A87E3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.153 H 258.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4A87E3
RGBrgb(74, 135, 227)
HSLhsl(216, 73%, 59%)
HSVhsv(216, 67%, 89%)
CMYKcmyk(67.4%, 40.5%, 0%, 11%)
CIE-LABlab(56.41, 9.71, -52.57)
CIE-LCHlch(56.41, 53.46, 280.46°)
OKLaboklab(62.7% -0.0306 -0.1499)
OKLCHoklch(62.7% 0.153 258.5)
XYZxyz(25.3481, 24.3273, 76.0179)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E3 #E3A64A
analogous
#4AD4E3 #4A87E3 #5A4AE3
triadic
#4A87E3 #E34A87 #87E34A
tetradic
#4A87E3 #E34AD4 #E3A64A #4AE35A
square
#4A87E3 #E34AD4 #E3A64A #4AE35A
split-complementary
#4A87E3 #E35A4A #D4E34A
monochromatic
#184C9B #2066D0 #4A87E3 #7FAAEB #B4CDF3

Accessibility & contrast

On white

3.58
#4A87E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4A87E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E3#FFFFFF#000000##000000
##4A87E31.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#4481E1
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a87e3;
/* rgb */ color: rgb(74, 135, 227);
/* oklch */ color: oklch(62.7% 0.153 258.5);
Tailwind
colors: {
  custom: {
    50: '#8ca9ec',
    500: '#4a87e3',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e3;
$custom-light: #8ca9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e3",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 227
  },
  "hsl": {
    "h": 216.078,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62702,
    "c": 0.15301,
    "h": 258.5
  },
  "luminance": 0.2433
}

Semantic roles & 50–950 ramp

primary
#4A87E3
secondary
#E2CAA6
accent
#A738F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E3

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

Preview Lab → · Contrast checker → · Palette generator →

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