#4781D2#4781D2

#4781D2 is a mid, vivid cyan. Relative luminance 0.217; OKLCH L 60.3% C 0.138 H 257.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4781D2
RGBrgb(71, 129, 210)
HSLhsl(215, 61%, 55%)
HSVhsv(215, 66%, 82%)
CMYKcmyk(66.2%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.70, 6.93, -47.35)
CIE-LCHlch(53.70, 47.86, 278.33°)
OKLaboklab(60.26% -0.0308 -0.1347)
OKLCHoklch(60.26% 0.138 257.1)
XYZxyz(22.0775, 21.6910, 63.9836)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781D2 #D29847
analogous
#47C7D2 #4781D2 #5247D2
triadic
#4781D2 #D24781 #81D247
tetradic
#4781D2 #D247C7 #D29847 #47D252
square
#4781D2 #D247C7 #D29847 #47D252
split-complementary
#4781D2 #D25247 #C7D247
monochromatic
#1F477F #2B63B1 #4781D2 #78A3DE #A9C4EA

Accessibility & contrast

On white

3.93
#4781D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4781D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781D2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781D2#FFFFFF#000000##000000
##4781D21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D5
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4781d2;
/* rgb */ color: rgb(71, 129, 210);
/* oklch */ color: oklch(60.3% 0.138 257.1);
Tailwind
colors: {
  custom: {
    50: '#88a5e0',
    500: '#4781d2',
    950: '#000000',
  },
}
SCSS
$custom: #4781d2;
$custom-light: #88a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4781d2",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 214.964,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.13821,
    "h": 257.1
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#4781D2
secondary
#D8BF9D
accent
#A144E4
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4781D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4781D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva