#408BAC#408BAC

#408BAC is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.089 H 229.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#408BAC
RGBrgb(64, 139, 172)
HSLhsl(198, 46%, 46%)
HSVhsv(198, 63%, 67%)
CMYKcmyk(62.8%, 19.2%, 0%, 32.5%)
CIE-LABlab(54.59, -12.98, -24.33)
CIE-LCHlch(54.59, 27.57, 241.92°)
OKLaboklab(60.31% -0.0578 -0.068)
OKLCHoklch(60.31% 0.089 229.6)
XYZxyz(18.7905, 22.5319, 42.3806)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BAC #AC6140
analogous
#40AC97 #408BAC #4055AC
triadic
#408BAC #AC408B #8BAC40
tetradic
#408BAC #9740AC #AC6140 #55AC40
square
#408BAC #9740AC #AC6140 #55AC40
split-complementary
#408BAC #AC4055 #AC9740
monochromatic
#1F4353 #2F677F #408BAC #64A8C5 #91C1D6

Accessibility & contrast

On white

3.81
#408BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#408BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BAC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BAC#FFFFFF#000000##000000
##408BAC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A89AE
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408bac;
/* rgb */ color: rgb(64, 139, 172);
/* oklch */ color: oklch(60.3% 0.089 229.6);
Tailwind
colors: {
  custom: {
    50: '#80adc4',
    500: '#408bac',
    950: '#000000',
  },
}
SCSS
$custom: #408bac;
$custom-light: #80adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#408bac",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 198.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.08922,
    "h": 229.6
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#408BAC
secondary
#C19987
accent
#7A52D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408BAC

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

Preview Lab → · Contrast checker → · Palette generator →

#408BAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva