#4791CC#4791CC

#4791CC is a light, moderate cyan. Relative luminance 0.260; OKLCH L 63.5% C 0.116 H 245.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4791CC
RGBrgb(71, 145, 204)
HSLhsl(207, 57%, 54%)
HSVhsv(207, 65%, 80%)
CMYKcmyk(65.2%, 28.9%, 0%, 20%)
CIE-LABlab(57.99, -4.56, -37.20)
CIE-LCHlch(57.99, 37.48, 263.01°)
OKLaboklab(63.53% -0.0486 -0.1049)
OKLCHoklch(63.53% 0.116 245.2)
XYZxyz(23.6189, 25.9476, 60.8787)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4791CC #CC8247
analogous
#47CCC5 #4791CC #474FCC
triadic
#4791CC #CC4791 #91CC47
tetradic
#4791CC #C547CC #CC8247 #4FCC47
square
#4791CC #C547CC #CC8247 #4FCC47
split-complementary
#4791CC #CC474F #CCC547
monochromatic
#215177 #2E72A7 #4791CC #77AED9 #A7CAE7

Accessibility & contrast

On white

3.39
#4791CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#4791CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4791CC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4791CC#FFFFFF#000000##000000
##4791CC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#009FA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4791cc;
/* rgb */ color: rgb(71, 145, 204);
/* oklch */ color: oklch(63.5% 0.116 245.2);
Tailwind
colors: {
  custom: {
    50: '#87b1dc',
    500: '#4791cc',
    950: '#000000',
  },
}
SCSS
$custom: #4791cc;
$custom-light: #87b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4791cc",
  "rgb": {
    "r": 71,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 206.617,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.11564,
    "h": 245.2
  },
  "luminance": 0.2595
}

Semantic roles & 50–950 ramp

primary
#4791CC
secondary
#D4B49B
accent
#8B48E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #4791CC

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

Preview Lab → · Contrast checker → · Palette generator →

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