#4798E4#4798E4

#4798E4 is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.4% C 0.138 H 249.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4798E4
RGBrgb(71, 152, 228)
HSLhsl(209, 74%, 59%)
HSVhsv(209, 69%, 89%)
CMYKcmyk(68.9%, 33.3%, 0%, 10.6%)
CIE-LABlab(61.13, -0.45, -45.66)
CIE-LCHlch(61.13, 45.66, 269.43°)
OKLaboklab(66.37% -0.0486 -0.1295)
OKLCHoklch(66.37% 0.138 249.4)
XYZxyz(27.8251, 29.3945, 77.5910)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4798E4 #E49347
analogous
#47E4E2 #4798E4 #4749E4
triadic
#4798E4 #E44798 #98E447
tetradic
#4798E4 #E247E4 #E49347 #49E447
square
#4798E4 #E247E4 #E49347 #49E447
split-complementary
#4798E4 #E44749 #E4E247
monochromatic
#175A9A #1E7ACF #4798E4 #7CB6EC #B2D4F4

Accessibility & contrast

On white

3.05
#4798E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#4798E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4798E4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4798E4#FFFFFF#000000##000000
##4798E41.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE7
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#00AAB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #4798e4;
/* rgb */ color: rgb(71, 152, 228);
/* oklch */ color: oklch(66.4% 0.138 249.4);
Tailwind
colors: {
  custom: {
    50: '#8bb6ed',
    500: '#4798e4',
    950: '#000000',
  },
}
SCSS
$custom: #4798e4;
$custom-light: #8bb6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4798e4",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 209.045,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.13832,
    "h": 249.4
  },
  "luminance": 0.29398
}

Semantic roles & 50–950 ramp

primary
#4798E4
secondary
#E2C2A4
accent
#9137F1
background
#F9FBFE
surface
#F1F6FD
border
#CBD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #4798E4

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

Preview Lab → · Contrast checker → · Palette generator →

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