#408FAB#408FAB

#408FAB is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.2% C 0.088 H 224.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#408FAB
RGBrgb(64, 143, 171)
HSLhsl(196, 46%, 46%)
HSVhsv(196, 63%, 67%)
CMYKcmyk(62.6%, 16.4%, 0%, 32.9%)
CIE-LABlab(55.76, -15.50, -21.95)
CIE-LCHlch(55.76, 26.87, 234.77°)
OKLaboklab(61.23% -0.0626 -0.0612)
OKLCHoklch(61.23% 0.088 224.4)
XYZxyz(19.2846, 23.6732, 42.0733)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FAB #AB5C40
analogous
#40AB91 #408FAB #4059AB
triadic
#408FAB #AB408F #8FAB40
tetradic
#408FAB #9140AB #AB5C40 #59AB40
square
#408FAB #9140AB #AB5C40 #59AB40
split-complementary
#408FAB #AB4059 #AB9140
monochromatic
#1F4552 #2F6A7E #408FAB #63ABC5 #90C3D5

Accessibility & contrast

On white

3.66
#408FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#408FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FAB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FAB#FFFFFF#000000##000000
##408FAB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8CAC
Deuteranopia (green-blind)
#7081AB
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408fab;
/* rgb */ color: rgb(64, 143, 171);
/* oklch */ color: oklch(61.2% 0.088 224.4);
Tailwind
colors: {
  custom: {
    50: '#80afc4',
    500: '#408fab',
    950: '#000000',
  },
}
SCSS
$custom: #408fab;
$custom-light: #80afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#408fab",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 195.701,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.08751,
    "h": 224.4
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#408FAB
secondary
#C19586
accent
#7553D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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