#4781CA#4781CA

#4781CA is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 59.8% C 0.128 H 255.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4781CA
RGBrgb(71, 129, 202)
HSLhsl(213, 55%, 54%)
HSVhsv(213, 65%, 79%)
CMYKcmyk(64.9%, 36.1%, 0%, 20.8%)
CIE-LABlab(53.28, 4.16, -43.48)
CIE-LCHlch(53.28, 43.68, 275.47°)
OKLaboklab(59.8% -0.0327 -0.1234)
OKLCHoklch(59.8% 0.128 255.2)
XYZxyz(21.1056, 21.3023, 58.8652)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781CA #CA9047
analogous
#47C2CA #4781CA #4E47CA
triadic
#4781CA #CA4781 #81CA47
tetradic
#4781CA #CA47C2 #CA9047 #47CA4E
square
#4781CA #CA47C2 #CA9047 #47CA4E
split-complementary
#4781CA #CA4E47 #C2CA47
monochromatic
#224775 #2F63A4 #4781CA #77A2D8 #A6C2E5

Accessibility & contrast

On white

3.99
#4781CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4781CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781CA#FFFFFF#000000##000000
##4781CA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CD
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4781ca;
/* rgb */ color: rgb(71, 129, 202);
/* oklch */ color: oklch(59.8% 0.128 255.2);
Tailwind
colors: {
  custom: {
    50: '#87a5da',
    500: '#4781ca',
    950: '#000000',
  },
}
SCSS
$custom: #4781ca;
$custom-light: #87a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#4781ca",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 213.435,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.12767,
    "h": 255.2
  },
  "luminance": 0.21304
}

Semantic roles & 50–950 ramp

primary
#4781CA
secondary
#D2BA9A
accent
#9C49DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4781CA

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

Preview Lab → · Contrast checker → · Palette generator →

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