#4080D7#4080D7

#4080D7 is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 60.1% C 0.148 H 256.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4080D7
RGBrgb(64, 128, 215)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(70.2%, 40.5%, 0%, 15.7%)
CIE-LABlab(53.42, 8.21, -50.63)
CIE-LCHlch(53.42, 51.30, 279.21°)
OKLaboklab(60.06% -0.0339 -0.1445)
OKLCHoklch(60.06% 0.148 256.8)
XYZxyz(22.0948, 21.4323, 67.2492)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080D7 #D79740
analogous
#40CBD7 #4080D7 #4C40D7
triadic
#4080D7 #D74080 #80D740
tetradic
#4080D7 #D740CB #D79740 #40D74C
square
#4080D7 #D740CB #D79740 #40D74C
split-complementary
#4080D7 #D74C40 #CBD740
monochromatic
#1B4781 #2662B4 #4080D7 #73A2E2 #A5C3EC

Accessibility & contrast

On white

3.97
#4080D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4080D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080D7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080D7#FFFFFF#000000##000000
##4080D71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4080d7;
/* rgb */ color: rgb(64, 128, 215);
/* oklch */ color: oklch(60.1% 0.148 256.8);
Tailwind
colors: {
  custom: {
    50: '#86a4e4',
    500: '#4080d7',
    950: '#000000',
  },
}
SCSS
$custom: #4080d7;
$custom-light: #86a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4080d7",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 215
  },
  "hsl": {
    "h": 214.57,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.14839,
    "h": 256.8
  },
  "luminance": 0.21435
}

Semantic roles & 50–950 ramp

primary
#4080D7
secondary
#D9BE9A
accent
#A13FE8
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0C0F15
muted
#7D7F84

Preview Lab

Preview with #4080D7

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

Preview Lab → · Contrast checker → · Palette generator →

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