#4A80CC#4A80CC

#4A80CC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.8% C 0.130 H 257.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4A80CC
RGBrgb(74, 128, 204)
HSLhsl(215, 56%, 55%)
HSVhsv(215, 64%, 80%)
CMYKcmyk(63.7%, 37.3%, 0%, 20%)
CIE-LABlab(53.22, 5.98, -44.70)
CIE-LCHlch(53.22, 45.09, 277.62°)
OKLaboklab(59.82% -0.0288 -0.1269)
OKLCHoklch(59.82% 0.13 257.2)
XYZxyz(21.4384, 21.2518, 60.0872)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A80CC #CC964A
analogous
#4AC1CC #4A80CC #554ACC
triadic
#4A80CC #CC4A80 #80CC4A
tetradic
#4A80CC #CC4AC1 #CC964A #4ACC55
square
#4A80CC #CC4AC1 #CC964A #4ACC55
split-complementary
#4A80CC #CC554A #C1CC4A
monochromatic
#224679 #3062A9 #4A80CC #7AA2D9 #A9C3E7

Accessibility & contrast

On white

4.00
#4A80CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4A80CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A80CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A80CC#FFFFFF#000000##000000
##4A80CC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a80cc;
/* rgb */ color: rgb(74, 128, 204);
/* oklch */ color: oklch(59.8% 0.130 257.2);
Tailwind
colors: {
  custom: {
    50: '#88a4dc',
    500: '#4a80cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a80cc;
$custom-light: #88a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a80cc",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 215.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.13017,
    "h": 257.2
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#4A80CC
secondary
#D4BE9D
accent
#A148DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A80CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4A80CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva