#4A87DF#4A87DF

#4A87DF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.148 H 257.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4A87DF
RGBrgb(74, 135, 223)
HSLhsl(215, 70%, 58%)
HSVhsv(215, 67%, 87%)
CMYKcmyk(66.8%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.20, 8.32, -50.68)
CIE-LCHlch(56.20, 51.36, 279.32°)
OKLaboklab(62.46% -0.0314 -0.1444)
OKLCHoklch(62.46% 0.148 257.7)
XYZxyz(24.8025, 24.1090, 73.1441)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87DF #DFA24A
analogous
#4AD2DF #4A87DF #574ADF
triadic
#4A87DF #DF4A87 #87DF4A
tetradic
#4A87DF #DF4AD2 #DFA24A #4ADF57
square
#4A87DF #DF4AD2 #DFA24A #4ADF57
split-complementary
#4A87DF #DF574A #D2DF4A
monochromatic
#1A4C94 #2367C8 #4A87DF #7EA9E8 #B2CCF1

Accessibility & contrast

On white

3.61
#4A87DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4A87DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87DF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87DF#FFFFFF#000000##000000
##4A87DF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#4880DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a87df;
/* rgb */ color: rgb(74, 135, 223);
/* oklch */ color: oklch(62.5% 0.148 257.7);
Tailwind
colors: {
  custom: {
    50: '#8ca9e9',
    500: '#4a87df',
    950: '#000000',
  },
}
SCSS
$custom: #4a87df;
$custom-light: #8ca9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87df",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 215.436,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.14776,
    "h": 257.7
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#4A87DF
secondary
#E0C8A5
accent
#A43BED
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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