#4080B8#4080B8

#4080B8 is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.3% C 0.109 H 247.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4080B8
RGBrgb(64, 128, 184)
HSLhsl(208, 48%, 49%)
HSVhsv(208, 65%, 72%)
CMYKcmyk(65.2%, 30.4%, 0%, 27.8%)
CIE-LABlab(51.82, -2.67, -35.51)
CIE-LCHlch(51.82, 35.61, 265.70°)
OKLaboklab(58.29% -0.0419 -0.1003)
OKLCHoklch(58.29% 0.109 247.3)
XYZxyz(18.4820, 19.9872, 48.2220)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080B8 #B87840
analogous
#40B8B4 #4080B8 #4044B8
triadic
#4080B8 #B84080 #80B840
tetradic
#4080B8 #B440B8 #B87840 #44B840
square
#4080B8 #B440B8 #B87840 #44B840
split-complementary
#4080B8 #B84044 #B8B440
monochromatic
#20415D #30608B #4080B8 #6A9ECB #97BBDB

Accessibility & contrast

On white

4.20
#4080B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4080B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080B8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080B8#FFFFFF#000000##000000
##4080B81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BA
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4080b8;
/* rgb */ color: rgb(64, 128, 184);
/* oklch */ color: oklch(58.3% 0.109 247.3);
Tailwind
colors: {
  custom: {
    50: '#81a4cd',
    500: '#4080b8',
    950: '#000000',
  },
}
SCSS
$custom: #4080b8;
$custom-light: #81a4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4080b8",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 184
  },
  "hsl": {
    "h": 208,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.10868,
    "h": 247.3
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4080B8

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

Preview Lab → · Contrast checker → · Palette generator →

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