#4080C3#4080C3

#4080C3 is a mid, vivid cyan. Relative luminance 0.205; OKLCH L 58.9% C 0.122 H 251.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4080C3
RGBrgb(64, 128, 195)
HSLhsl(211, 52%, 51%)
HSVhsv(211, 67%, 76%)
CMYKcmyk(67.2%, 34.4%, 0%, 23.5%)
CIE-LABlab(52.36, 1.14, -40.97)
CIE-LCHlch(52.36, 40.98, 271.60°)
OKLaboklab(58.89% -0.0387 -0.1162)
OKLCHoklch(58.89% 0.122 251.6)
XYZxyz(19.6802, 20.4664, 54.5324)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080C3 #C38340
analogous
#40C1C3 #4080C3 #4140C3
triadic
#4080C3 #C34080 #80C340
tetradic
#4080C3 #C340C1 #C38340 #40C341
square
#4080C3 #C340C1 #C38340 #40C341
split-complementary
#4080C3 #C34140 #C1C340
monochromatic
#214368 #2F6297 #4080C3 #6F9FD2 #9DBEE0

Accessibility & contrast

On white

4.12
#4080C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4080C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080C3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080C3#FFFFFF#000000##000000
##4080C31.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C6
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#009098
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4080c3;
/* rgb */ color: rgb(64, 128, 195);
/* oklch */ color: oklch(58.9% 0.122 251.6);
Tailwind
colors: {
  custom: {
    50: '#83a4d5',
    500: '#4080c3',
    950: '#000000',
  },
}
SCSS
$custom: #4080c3;
$custom-light: #83a4d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4080c3",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 195
  },
  "hsl": {
    "h": 210.687,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.12245,
    "h": 251.6
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#4080C3
secondary
#CCB092
accent
#964CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4080C3

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

Preview Lab → · Contrast checker → · Palette generator →

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