#408FAC#408FAC

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

Color values

HEX#408FAC
RGBrgb(64, 143, 172)
HSLhsl(196, 46%, 46%)
HSVhsv(196, 63%, 67%)
CMYKcmyk(62.8%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.80, -15.18, -22.46)
CIE-LCHlch(55.80, 27.11, 235.95°)
OKLaboklab(61.27% -0.0622 -0.0626)
OKLCHoklch(61.27% 0.088 225.2)
XYZxyz(19.3803, 23.7115, 42.5772)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FAC #AC5D40
analogous
#40AC93 #408FAC #4059AC
triadic
#408FAC #AC408F #8FAC40
tetradic
#408FAC #9340AC #AC5D40 #59AC40
square
#408FAC #9340AC #AC5D40 #59AC40
split-complementary
#408FAC #AC4059 #AC9340
monochromatic
#1F4553 #2F6A7F #408FAC #64ABC5 #91C3D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408FAC#FFFFFF#000000##000000
##408FAC1.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)
#7F8CAE
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408fac;
/* rgb */ color: rgb(64, 143, 172);
/* oklch */ color: oklch(61.3% 0.088 225.2);
Tailwind
colors: {
  custom: {
    50: '#80afc4',
    500: '#408fac',
    950: '#000000',
  },
}
SCSS
$custom: #408fac;
$custom-light: #80afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#408fac",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 196.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.08827,
    "h": 225.2
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#408FAC
secondary
#C19687
accent
#7652D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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