#4080B3#4080B3

#4080B3 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.0% C 0.103 H 245.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4080B3
RGBrgb(64, 128, 179)
HSLhsl(207, 47%, 48%)
HSVhsv(207, 64%, 70%)
CMYKcmyk(64.2%, 28.5%, 0%, 29.8%)
CIE-LABlab(51.59, -4.37, -33.00)
CIE-LCHlch(51.59, 33.29, 262.45°)
OKLaboklab(58.03% -0.0434 -0.093)
OKLCHoklch(58.03% 0.103 245)
XYZxyz(17.9672, 19.7812, 45.5104)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080B3 #B37340
analogous
#40B3AD #4080B3 #4046B3
triadic
#4080B3 #B34080 #80B340
tetradic
#4080B3 #AD40B3 #B37340 #46B340
square
#4080B3 #AD40B3 #B37340 #46B340
split-complementary
#4080B3 #B34046 #B3AD40
monochromatic
#204059 #306086 #4080B3 #679EC9 #94BBD9

Accessibility & contrast

On white

4.24
#4080B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4080B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080B3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080B3#FFFFFF#000000##000000
##4080B31.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B5
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4080b3;
/* rgb */ color: rgb(64, 128, 179);
/* oklch */ color: oklch(58.0% 0.103 245.0);
Tailwind
colors: {
  custom: {
    50: '#80a4ca',
    500: '#4080b3',
    950: '#000000',
  },
}
SCSS
$custom: #4080b3;
$custom-light: #80a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4080b3",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 179
  },
  "hsl": {
    "h": 206.609,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.10265,
    "h": 245
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#4080B3
secondary
#C4A48A
accent
#8C51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #4080B3

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

Preview Lab → · Contrast checker → · Palette generator →

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