#487ED8#487ED8

#487ED8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.149 H 260.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#487ED8
RGBrgb(72, 126, 216)
HSLhsl(218, 65%, 56%)
HSVhsv(218, 67%, 85%)
CMYKcmyk(66.7%, 41.7%, 0%, 15.3%)
CIE-LABlab(53.23, 11.02, -51.49)
CIE-LCHlch(53.23, 52.65, 282.08°)
OKLaboklab(60.01% -0.0258 -0.1469)
OKLCHoklch(60.01% 0.149 260)
XYZxyz(22.5236, 21.2551, 67.8681)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487ED8 #D8A248
analogous
#48C6D8 #487ED8 #5A48D8
triadic
#487ED8 #D8487E #7ED848
tetradic
#487ED8 #D848C6 #D8A248 #48D85A
square
#487ED8 #D848C6 #D8A248 #48D85A
split-complementary
#487ED8 #D85A48 #C6D848
monochromatic
#1D4589 #285FBB #487ED8 #7AA2E3 #ADC5EE

Accessibility & contrast

On white

4.00
#487ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#487ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #487ED8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487ED8#FFFFFF#000000##000000
##487ED81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DC
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #487ed8;
/* rgb */ color: rgb(72, 126, 216);
/* oklch */ color: oklch(60.0% 0.149 260.0);
Tailwind
colors: {
  custom: {
    50: '#8aa2e4',
    500: '#487ed8',
    950: '#000000',
  },
}
SCSS
$custom: #487ed8;
$custom-light: #8aa2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#487ed8",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 217.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.14914,
    "h": 260
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

primary
#487ED8
secondary
#DBC5A0
accent
#A940E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #487ED8

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

Preview Lab → · Contrast checker → · Palette generator →

#487ED8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva