#4080AF#4080AF

#4080AF is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.8% C 0.098 H 242.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4080AF
RGBrgb(64, 128, 175)
HSLhsl(205, 46%, 47%)
HSVhsv(205, 63%, 69%)
CMYKcmyk(63.4%, 26.9%, 0%, 31.4%)
CIE-LABlab(51.41, -5.73, -30.98)
CIE-LCHlch(51.41, 31.51, 259.53°)
OKLaboklab(57.82% -0.0447 -0.0871)
OKLCHoklch(57.82% 0.098 242.8)
XYZxyz(17.5685, 19.6217, 43.4106)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080AF #AF6F40
analogous
#40AFA7 #4080AF #4049AF
triadic
#4080AF #AF4080 #80AF40
tetradic
#4080AF #A740AF #AF6F40 #49AF40
square
#4080AF #A740AF #AF6F40 #49AF40
split-complementary
#4080AF #AF4049 #AFA740
monochromatic
#1F3E55 #305F82 #4080AF #659EC7 #92BAD7

Accessibility & contrast

On white

4.26
#4080AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4080AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080AF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080AF#FFFFFF#000000##000000
##4080AF1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B1
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4080af;
/* rgb */ color: rgb(64, 128, 175);
/* oklch */ color: oklch(57.8% 0.098 242.8);
Tailwind
colors: {
  custom: {
    50: '#7fa4c7',
    500: '#4080af',
    950: '#000000',
  },
}
SCSS
$custom: #4080af;
$custom-light: #7fa4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4080af",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 175
  },
  "hsl": {
    "h": 205.405,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.09795,
    "h": 242.8
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#4080AF
secondary
#C3A188
accent
#8A52D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #4080AF

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

Preview Lab → · Contrast checker → · Palette generator →

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