#408BAF#408BAF

#408BAF is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.092 H 231.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#408BAF
RGBrgb(64, 139, 175)
HSLhsl(199, 46%, 47%)
HSVhsv(199, 63%, 69%)
CMYKcmyk(63.4%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.71, -12.00, -25.86)
CIE-LCHlch(54.71, 28.51, 245.10°)
OKLaboklab(60.44% -0.0567 -0.0723)
OKLCHoklch(60.44% 0.092 231.9)
XYZxyz(19.0818, 22.6484, 43.9151)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BAF #AF6440
analogous
#40AF9C #408BAF #4054AF
triadic
#408BAF #AF408B #8BAF40
tetradic
#408BAF #9C40AF #AF6440 #54AF40
square
#408BAF #9C40AF #AF6440 #54AF40
split-complementary
#408BAF #AF4054 #AF9C40
monochromatic
#1F4455 #306782 #408BAF #65A7C7 #92C1D7

Accessibility & contrast

On white

3.80
#408BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#408BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BAF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BAF#FFFFFF#000000##000000
##408BAF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#6A7EAE
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408baf;
/* rgb */ color: rgb(64, 139, 175);
/* oklch */ color: oklch(60.4% 0.092 231.9);
Tailwind
colors: {
  custom: {
    50: '#80acc7',
    500: '#408baf',
    950: '#000000',
  },
}
SCSS
$custom: #408baf;
$custom-light: #80acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#408baf",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 199.459,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.09191,
    "h": 231.9
  },
  "luminance": 0.2265
}

Semantic roles & 50–950 ramp

primary
#408BAF
secondary
#C39B88
accent
#7D52D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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