#4781CE#4781CE

#4781CE is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.0% C 0.133 H 256.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4781CE
RGBrgb(71, 129, 206)
HSLhsl(214, 58%, 54%)
HSVhsv(214, 66%, 81%)
CMYKcmyk(65.5%, 37.4%, 0%, 19.2%)
CIE-LABlab(53.49, 5.54, -45.42)
CIE-LCHlch(53.49, 45.76, 276.96°)
OKLaboklab(60.03% -0.0317 -0.1291)
OKLCHoklch(60.03% 0.133 256.2)
XYZxyz(21.5853, 21.4942, 61.3918)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781CE #CE9447
analogous
#47C5CE #4781CE #5147CE
triadic
#4781CE #CE4781 #81CE47
tetradic
#4781CE #CE47C5 #CE9447 #47CE51
square
#4781CE #CE47C5 #CE9447 #47CE51
split-complementary
#4781CE #CE5147 #C5CE47
monochromatic
#21477A #2D63AA #4781CE #77A2DB #A8C3E8

Accessibility & contrast

On white

3.96
#4781CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4781CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781CE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781CE#FFFFFF#000000##000000
##4781CE1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D1
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4781ce;
/* rgb */ color: rgb(71, 129, 206);
/* oklch */ color: oklch(60.0% 0.133 256.2);
Tailwind
colors: {
  custom: {
    50: '#87a5dd',
    500: '#4781ce',
    950: '#000000',
  },
}
SCSS
$custom: #4781ce;
$custom-light: #87a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4781ce",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 214.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.13293,
    "h": 256.2
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#4781CE
secondary
#D5BC9C
accent
#9F47E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4781CE

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

Preview Lab → · Contrast checker → · Palette generator →

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