#4789E7#4789E7

#4789E7 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.3% C 0.157 H 257.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4789E7
RGBrgb(71, 137, 231)
HSLhsl(215, 77%, 59%)
HSVhsv(215, 69%, 91%)
CMYKcmyk(69.3%, 40.7%, 0%, 9.4%)
CIE-LABlab(57.07, 9.45, -53.76)
CIE-LCHlch(57.07, 54.58, 279.97°)
OKLaboklab(63.25% -0.0338 -0.1534)
OKLCHoklch(63.25% 0.157 257.6)
XYZxyz(25.9628, 24.9977, 79.0426)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4789E7 #E7A547
analogous
#47D9E7 #4789E7 #5547E7
triadic
#4789E7 #E74789 #89E747
tetradic
#4789E7 #E747D9 #E7A547 #47E755
square
#4789E7 #E747D9 #E7A547 #47E755
split-complementary
#4789E7 #E75547 #D9E747
monochromatic
#154E9F #1C68D5 #4789E7 #7DACEE #B3CEF5

Accessibility & contrast

On white

3.50
#4789E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#4789E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4789E7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4789E7#FFFFFF#000000##000000
##4789E71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4789e7;
/* rgb */ color: rgb(71, 137, 231);
/* oklch */ color: oklch(63.3% 0.157 257.6);
Tailwind
colors: {
  custom: {
    50: '#8caaef',
    500: '#4789e7',
    950: '#000000',
  },
}
SCSS
$custom: #4789e7;
$custom-light: #8caaef;
$custom-dark: #000000;
JSON
{
  "hex": "#4789e7",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 215.25,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63253,
    "c": 0.1571,
    "h": 257.6
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#4789E7
secondary
#E4CAA6
accent
#A534F3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #4789E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4789E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva