#4080CB#4080CB

#4080CB is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.3% C 0.133 H 254.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4080CB
RGBrgb(64, 128, 203)
HSLhsl(212, 57%, 52%)
HSVhsv(212, 68%, 80%)
CMYKcmyk(68.5%, 36.9%, 0%, 20.4%)
CIE-LABlab(52.77, 3.95, -44.87)
CIE-LCHlch(52.77, 45.04, 275.04°)
OKLaboklab(59.34% -0.0366 -0.1276)
OKLCHoklch(59.34% 0.133 254)
XYZxyz(20.6091, 20.8380, 59.4243)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080CB #CB8B40
analogous
#40C6CB #4080CB #4540CB
triadic
#4080CB #CB4080 #80CB40
tetradic
#4080CB #CB40C6 #CB8B40 #40CB45
square
#4080CB #CB40C6 #CB8B40 #40CB45
split-complementary
#4080CB #CB4540 #C6CB40
monochromatic
#1F4572 #2C62A2 #4080CB #70A0D8 #A0C0E5

Accessibility & contrast

On white

4.06
#4080CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4080CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080CB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080CB#FFFFFF#000000##000000
##4080CB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4080cb;
/* rgb */ color: rgb(64, 128, 203);
/* oklch */ color: oklch(59.3% 0.133 254.0);
Tailwind
colors: {
  custom: {
    50: '#84a4db',
    500: '#4080cb',
    950: '#000000',
  },
}
SCSS
$custom: #4080cb;
$custom-light: #84a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#4080cb",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 212.374,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.13274,
    "h": 254
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#4080CB
secondary
#D2B695
accent
#9A47E0
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4080CB

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

Preview Lab → · Contrast checker → · Palette generator →

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