#4080B5#4080B5

#4080B5 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.1% C 0.105 H 246.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4080B5
RGBrgb(64, 128, 181)
HSLhsl(207, 48%, 48%)
HSVhsv(207, 65%, 71%)
CMYKcmyk(64.6%, 29.3%, 0%, 29%)
CIE-LABlab(51.68, -3.69, -34.01)
CIE-LCHlch(51.68, 34.21, 263.80°)
OKLaboklab(58.13% -0.0428 -0.0959)
OKLCHoklch(58.13% 0.105 246)
XYZxyz(18.1709, 19.8627, 46.5834)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080B5 #B57540
analogous
#40B5AF #4080B5 #4046B5
triadic
#4080B5 #B54080 #80B540
tetradic
#4080B5 #AF40B5 #B57540 #46B540
square
#4080B5 #AF40B5 #B57540 #46B540
split-complementary
#4080B5 #B54046 #B5AF40
monochromatic
#20405B #306088 #4080B5 #689ECA #96BBDA

Accessibility & contrast

On white

4.22
#4080B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4080B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080B5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080B5#FFFFFF#000000##000000
##4080B51.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B7
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4080b5;
/* rgb */ color: rgb(64, 128, 181);
/* oklch */ color: oklch(58.1% 0.105 246.0);
Tailwind
colors: {
  custom: {
    50: '#80a4cb',
    500: '#4080b5',
    950: '#000000',
  },
}
SCSS
$custom: #4080b5;
$custom-light: #80a4cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4080b5",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 181
  },
  "hsl": {
    "h": 207.179,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.10503,
    "h": 246
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#4080B5
secondary
#C5A68B
accent
#8E50D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #4080B5

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

Preview Lab → · Contrast checker → · Palette generator →

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