#4080B7#4080B7

#4080B7 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.2% C 0.107 H 246.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4080B7
RGBrgb(64, 128, 183)
HSLhsl(208, 48%, 48%)
HSVhsv(208, 65%, 72%)
CMYKcmyk(65%, 30.1%, 0%, 28.2%)
CIE-LABlab(51.78, -3.01, -35.01)
CIE-LCHlch(51.78, 35.14, 265.09°)
OKLaboklab(58.24% -0.0422 -0.0988)
OKLCHoklch(58.24% 0.107 246.9)
XYZxyz(18.3776, 19.9454, 47.6719)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080B7 #B77740
analogous
#40B7B2 #4080B7 #4044B7
triadic
#4080B7 #B74080 #80B740
tetradic
#4080B7 #B240B7 #B77740 #44B740
square
#4080B7 #B240B7 #B77740 #44B740
split-complementary
#4080B7 #B74044 #B7B240
monochromatic
#20415C #30608A #4080B7 #699ECB #97BBDB

Accessibility & contrast

On white

4.21
#4080B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4080B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080B7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080B7#FFFFFF#000000##000000
##4080B71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B9
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4080b7;
/* rgb */ color: rgb(64, 128, 183);
/* oklch */ color: oklch(58.2% 0.107 246.9);
Tailwind
colors: {
  custom: {
    50: '#81a4cd',
    500: '#4080b7',
    950: '#000000',
  },
}
SCSS
$custom: #4080b7;
$custom-light: #81a4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4080b7",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 183
  },
  "hsl": {
    "h": 207.731,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.10746,
    "h": 246.9
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#4080B7
secondary
#C6A78D
accent
#8F50D8
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #4080B7

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

Preview Lab → · Contrast checker → · Palette generator →

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