#4791E8#4791E8

#4791E8 is a light, vivid cyan. Relative luminance 0.274; OKLCH L 65.0% C 0.150 H 254.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4791E8
RGBrgb(71, 145, 232)
HSLhsl(212, 78%, 59%)
HSVhsv(212, 69%, 91%)
CMYKcmyk(69.4%, 37.5%, 0%, 9%)
CIE-LABlab(59.36, 5.03, -50.68)
CIE-LCHlch(59.36, 50.93, 275.66°)
OKLaboklab(65.05% -0.041 -0.1443)
OKLCHoklch(65.05% 0.15 254.1)
XYZxyz(27.2841, 27.4137, 80.1817)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4791E8 #E89E47
analogous
#47E2E8 #4791E8 #4D47E8
triadic
#4791E8 #E84791 #91E847
tetradic
#4791E8 #E847E2 #E89E47 #47E84D
square
#4791E8 #E847E2 #E89E47 #47E84D
split-complementary
#4791E8 #E84D47 #E2E847
monochromatic
#1455A1 #1B71D7 #4791E8 #7DB2EF #B4D2F6

Accessibility & contrast

On white

3.24
#4791E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#4791E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4791E8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4791E8#FFFFFF#000000##000000
##4791E81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EC
Deuteranopia (green-blind)
#5188E6
Tritanopia (blue-blind)
#00A5B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4791e8;
/* rgb */ color: rgb(71, 145, 232);
/* oklch */ color: oklch(65.0% 0.150 254.1);
Tailwind
colors: {
  custom: {
    50: '#8cb0f0',
    500: '#4791e8',
    950: '#000000',
  },
}
SCSS
$custom: #4791e8;
$custom-light: #8cb0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4791e8",
  "rgb": {
    "r": 71,
    "g": 145,
    "b": 232
  },
  "hsl": {
    "h": 212.422,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65046,
    "c": 0.14998,
    "h": 254.1
  },
  "luminance": 0.27417
}

Semantic roles & 50–950 ramp

primary
#4791E8
secondary
#E5C8A6
accent
#9C34F4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #4791E8

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

Preview Lab → · Contrast checker → · Palette generator →

#4791E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva