#4080D5#4080D5

#4080D5 is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 59.9% C 0.146 H 256.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4080D5
RGBrgb(64, 128, 213)
HSLhsl(214, 64%, 54%)
HSVhsv(214, 70%, 84%)
CMYKcmyk(70%, 39.9%, 0%, 16.5%)
CIE-LABlab(53.31, 7.50, -49.68)
CIE-LCHlch(53.31, 50.24, 278.59°)
OKLaboklab(59.94% -0.0343 -0.1417)
OKLCHoklch(59.94% 0.146 256.4)
XYZxyz(21.8394, 21.3301, 65.9040)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080D5 #D59540
analogous
#40CBD5 #4080D5 #4B40D5
triadic
#4080D5 #D54080 #80D540
tetradic
#4080D5 #D540CB #D59540 #40D54B
square
#4080D5 #D540CB #D59540 #40D54B
split-complementary
#4080D5 #D54B40 #CBD540
monochromatic
#1C467F #2762B1 #4080D5 #72A1E0 #A4C3EB

Accessibility & contrast

On white

3.99
#4080D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4080D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080D5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080D5#FFFFFF#000000##000000
##4080D51.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D8
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4080d5;
/* rgb */ color: rgb(64, 128, 213);
/* oklch */ color: oklch(59.9% 0.146 256.4);
Tailwind
colors: {
  custom: {
    50: '#86a4e2',
    500: '#4080d5',
    950: '#000000',
  },
}
SCSS
$custom: #4080d5;
$custom-light: #86a4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4080d5",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 213
  },
  "hsl": {
    "h": 214.228,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.14578,
    "h": 256.4
  },
  "luminance": 0.21332
}

Semantic roles & 50–950 ramp

primary
#4080D5
secondary
#D8BD99
accent
#A041E7
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4080D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4080D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva