#4080D9#4080D9

#4080D9 is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.2% C 0.151 H 257.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4080D9
RGBrgb(64, 128, 217)
HSLhsl(215, 67%, 55%)
HSVhsv(215, 71%, 85%)
CMYKcmyk(70.5%, 41%, 0%, 14.9%)
CIE-LABlab(53.53, 8.93, -51.58)
CIE-LCHlch(53.53, 52.35, 279.82°)
OKLaboklab(60.18% -0.0334 -0.1473)
OKLCHoklch(60.18% 0.151 257.2)
XYZxyz(22.3533, 21.5357, 68.6109)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080D9 #D99940
analogous
#40CCD9 #4080D9 #4D40D9
triadic
#4080D9 #D94080 #80D940
tetradic
#4080D9 #D940CC #D99940 #40D94D
square
#4080D9 #D940CC #D99940 #40D94D
split-complementary
#4080D9 #D94D40 #CCD940
monochromatic
#1A4784 #2462B7 #4080D9 #73A2E3 #A6C4ED

Accessibility & contrast

On white

3.96
#4080D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4080D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080D9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080D9#FFFFFF#000000##000000
##4080D91.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)
#5688DC
Deuteranopia (green-blind)
#3D79D7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4080d9;
/* rgb */ color: rgb(64, 128, 217);
/* oklch */ color: oklch(60.2% 0.151 257.2);
Tailwind
colors: {
  custom: {
    50: '#86a4e5',
    500: '#4080d9',
    950: '#000000',
  },
}
SCSS
$custom: #4080d9;
$custom-light: #86a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4080d9",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 217
  },
  "hsl": {
    "h": 214.902,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.15102,
    "h": 257.2
  },
  "luminance": 0.21538
}

Semantic roles & 50–950 ramp

primary
#4080D9
secondary
#DAC09A
accent
#A23EEA
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4080D9

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

Preview Lab → · Contrast checker → · Palette generator →

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