#4989EC#4989EC

#4989EC is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.6% C 0.163 H 258.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4989EC
RGBrgb(73, 137, 236)
HSLhsl(216, 81%, 61%)
HSVhsv(216, 69%, 93%)
CMYKcmyk(69.1%, 41.9%, 0%, 7.5%)
CIE-LABlab(57.43, 11.50, -55.97)
CIE-LCHlch(57.43, 57.14, 281.61°)
OKLaboklab(63.64% -0.0314 -0.1599)
OKLCHoklch(63.64% 0.163 258.9)
XYZxyz(26.8282, 25.3611, 82.8219)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4989EC #ECAC49
analogous
#49DAEC #4989EC #5A49EC
triadic
#4989EC #EC4989 #89EC49
tetradic
#4989EC #EC49DA #ECAC49 #49EC5A
square
#4989EC #EC49DA #ECAC49 #49EC5A
split-complementary
#4989EC #EC5A49 #DAEC49
monochromatic
#124DA9 #1766E0 #4989EC #80ADF2 #B8D1F8

Accessibility & contrast

On white

3.46
#4989EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#4989EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4989EC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4989EC#FFFFFF#000000##000000
##4989EC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4989ec;
/* rgb */ color: rgb(73, 137, 236);
/* oklch */ color: oklch(63.6% 0.163 258.9);
Tailwind
colors: {
  custom: {
    50: '#8daaf3',
    500: '#4989ec',
    950: '#000000',
  },
}
SCSS
$custom: #4989ec;
$custom-light: #8daaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4989ec",
  "rgb": {
    "r": 73,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 216.442,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63637,
    "c": 0.16294,
    "h": 258.9
  },
  "luminance": 0.25364
}

Semantic roles & 50–950 ramp

primary
#4989EC
secondary
#E7CFA9
accent
#8A08DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4989EC

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

Preview Lab → · Contrast checker → · Palette generator →

#4989EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva