#4781CC#4781CC

#4781CC is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 59.9% C 0.130 H 255.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4781CC
RGBrgb(71, 129, 204)
HSLhsl(214, 57%, 54%)
HSVhsv(214, 65%, 80%)
CMYKcmyk(65.2%, 36.8%, 0%, 20%)
CIE-LABlab(53.38, 4.85, -44.45)
CIE-LCHlch(53.38, 44.72, 276.23°)
OKLaboklab(59.91% -0.0322 -0.1263)
OKLCHoklch(59.91% 0.13 255.7)
XYZxyz(21.3439, 21.3976, 60.1204)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781CC #CC9247
analogous
#47C3CC #4781CC #5047CC
triadic
#4781CC #CC4781 #81CC47
tetradic
#4781CC #CC47C3 #CC9247 #47CC50
square
#4781CC #CC47C3 #CC9247 #47CC50
split-complementary
#4781CC #CC5047 #C3CC47
monochromatic
#214777 #2E63A7 #4781CC #77A2D9 #A7C3E7

Accessibility & contrast

On white

3.98
#4781CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4781CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781CC#FFFFFF#000000##000000
##4781CC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4781cc;
/* rgb */ color: rgb(71, 129, 204);
/* oklch */ color: oklch(59.9% 0.130 255.7);
Tailwind
colors: {
  custom: {
    50: '#87a5dc',
    500: '#4781cc',
    950: '#000000',
  },
}
SCSS
$custom: #4781cc;
$custom-light: #87a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4781cc",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 213.835,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59912,
    "c": 0.1303,
    "h": 255.7
  },
  "luminance": 0.214
}

Semantic roles & 50–950 ramp

primary
#4781CC
secondary
#D4BB9B
accent
#9E48E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4781CC

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

Preview Lab → · Contrast checker → · Palette generator →

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