#4A87DB#4A87DB

#4A87DB is a light, vivid cyan. Relative luminance 0.239; OKLCH L 62.2% C 0.143 H 256.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4A87DB
RGBrgb(74, 135, 219)
HSLhsl(215, 67%, 57%)
HSVhsv(215, 66%, 86%)
CMYKcmyk(66.2%, 38.4%, 0%, 14.1%)
CIE-LABlab(55.98, 6.94, -48.78)
CIE-LCHlch(55.98, 49.27, 278.09°)
OKLaboklab(62.23% -0.0323 -0.1388)
OKLCHoklch(62.23% 0.143 256.9)
XYZxyz(24.2696, 23.8958, 70.3374)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87DB #DB9E4A
analogous
#4ACFDB #4A87DB #564ADB
triadic
#4A87DB #DB4A87 #87DB4A
tetradic
#4A87DB #DB4ACF #DB9E4A #4ADB56
square
#4A87DB #DB4ACF #DB9E4A #4ADB56
split-complementary
#4A87DB #DB564A #CFDB4A
monochromatic
#1C4C8E #2668C1 #4A87DB #7DA9E5 #B0CBEF

Accessibility & contrast

On white

3.63
#4A87DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4A87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87DB#FFFFFF#000000##000000
##4A87DB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDE
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a87db;
/* rgb */ color: rgb(74, 135, 219);
/* oklch */ color: oklch(62.2% 0.143 256.9);
Tailwind
colors: {
  custom: {
    50: '#8ba9e6',
    500: '#4a87db',
    950: '#000000',
  },
}
SCSS
$custom: #4a87db;
$custom-light: #8ba9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87db",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 214.759,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.14252,
    "h": 256.9
  },
  "luminance": 0.23898
}

Semantic roles & 50–950 ramp

primary
#4A87DB
secondary
#DEC5A3
accent
#A23EEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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