#4798F1#4798F1

#4798F1 is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.1% C 0.154 H 252.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4798F1
RGBrgb(71, 152, 241)
HSLhsl(211, 86%, 61%)
HSVhsv(211, 71%, 95%)
CMYKcmyk(70.5%, 36.9%, 0%, 5.5%)
CIE-LABlab(61.78, 4.04, -51.81)
CIE-LCHlch(61.78, 51.97, 274.45°)
OKLaboklab(67.09% -0.0453 -0.1475)
OKLCHoklch(67.09% 0.154 252.9)
XYZxyz(29.6981, 30.1437, 87.4552)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4798F1 #F1A047
analogous
#47EDF1 #4798F1 #4B47F1
triadic
#4798F1 #F14798 #98F147
tetradic
#4798F1 #F147ED #F1A047 #47F14B
square
#4798F1 #F147ED #F1A047 #47F14B
split-complementary
#4798F1 #F14B47 #EDF147
monochromatic
#0D5BB0 #1278E9 #4798F1 #80B8F5 #B9D8FA

Accessibility & contrast

On white

2.99
#4798F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#4798F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4798F1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4798F1#FFFFFF#000000##000000
##4798F11.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF5
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#00ADB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #4798f1;
/* rgb */ color: rgb(71, 152, 241);
/* oklch */ color: oklch(67.1% 0.154 252.9);
Tailwind
colors: {
  custom: {
    50: '#8db5f6',
    500: '#4798f1',
    950: '#000000',
  },
}
SCSS
$custom: #4798f1;
$custom-light: #8db5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#4798f1",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 211.412,
    "s": 85.859,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6709,
    "c": 0.15427,
    "h": 252.9
  },
  "luminance": 0.30147
}

Semantic roles & 50–950 ramp

primary
#4798F1
secondary
#EACBAA
accent
#7803E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #4798F1

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

Preview Lab → · Contrast checker → · Palette generator →

#4798F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva