#4781CF#4781CF

#4781CF is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.1% C 0.134 H 256.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4781CF
RGBrgb(71, 129, 207)
HSLhsl(214, 59%, 55%)
HSVhsv(214, 66%, 81%)
CMYKcmyk(65.7%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.54, 5.89, -45.91)
CIE-LCHlch(53.54, 46.28, 277.31°)
OKLaboklab(60.09% -0.0315 -0.1305)
OKLCHoklch(60.09% 0.134 256.4)
XYZxyz(21.7072, 21.5430, 62.0336)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781CF #CF9547
analogous
#47C5CF #4781CF #5147CF
triadic
#4781CF #CF4781 #81CF47
tetradic
#4781CF #CF47C5 #CF9547 #47CF51
square
#4781CF #CF47C5 #CF9547 #47CF51
split-complementary
#4781CF #CF5147 #C5CF47
monochromatic
#20477B #2D63AC #4781CF #78A2DC #A8C3E8

Accessibility & contrast

On white

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

On black

5.31
#4781CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781CF#FFFFFF#000000##000000
##4781CF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4781cf;
/* rgb */ color: rgb(71, 129, 207);
/* oklch */ color: oklch(60.1% 0.134 256.4);
Tailwind
colors: {
  custom: {
    50: '#88a5de',
    500: '#4781cf',
    950: '#000000',
  },
}
SCSS
$custom: #4781cf;
$custom-light: #88a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4781cf",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 214.412,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60085,
    "c": 0.13426,
    "h": 256.4
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#4781CF
secondary
#D6BD9C
accent
#9F46E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4781CF

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

Preview Lab → · Contrast checker → · Palette generator →

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