#4F87DF#4F87DF

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

Color values

HEX#4F87DF
RGBrgb(79, 135, 223)
HSLhsl(217, 69%, 59%)
HSVhsv(217, 65%, 87%)
CMYKcmyk(64.6%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.40, 9.15, -50.34)
CIE-LCHlch(56.40, 51.17, 280.30°)
OKLaboklab(62.68% -0.0276 -0.1433)
OKLCHoklch(62.68% 0.146 259.1)
XYZxyz(25.2030, 24.3155, 73.1629)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87DF #DFA74F
analogous
#4FCFDF #4F87DF #5F4FDF
triadic
#4F87DF #DF4F87 #87DF4F
tetradic
#4F87DF #DF4FCF #DFA74F #4FDF5F
square
#4F87DF #DF4FCF #DFA74F #4FDF5F
split-complementary
#4F87DF #DF5F4F #CFDF4F
monochromatic
#1C4C98 #2566CC #4F87DF #83AAE8 #B7CEF2

Accessibility & contrast

On white

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

On black

5.86
#4F87DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87DF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87DF#FFFFFF#000000##000000
##4F87DF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE2
Deuteranopia (green-blind)
#4A81DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f87df;
/* rgb */ color: rgb(79, 135, 223);
/* oklch */ color: oklch(62.7% 0.146 259.1);
Tailwind
colors: {
  custom: {
    50: '#8ea9e9',
    500: '#4f87df',
    950: '#000000',
  },
}
SCSS
$custom: #4f87df;
$custom-light: #8ea9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87df",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 216.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.14594,
    "h": 259.1
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#4F87DF
secondary
#E1CBA9
accent
#A73CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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