#408FB8#408FB8

#408FB8 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.8% C 0.099 H 234.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#408FB8
RGBrgb(64, 143, 184)
HSLhsl(201, 48%, 49%)
HSVhsv(201, 65%, 72%)
CMYKcmyk(65.2%, 22.3%, 0%, 27.8%)
CIE-LABlab(56.28, -11.29, -28.56)
CIE-LCHlch(56.28, 30.71, 248.44°)
OKLaboklab(61.82% -0.0577 -0.0801)
OKLCHoklch(61.82% 0.099 234.2)
XYZxyz(20.5852, 24.1935, 48.9231)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FB8 #B86940
analogous
#40B8A5 #408FB8 #4053B8
triadic
#408FB8 #B8408F #8FB840
tetradic
#408FB8 #A540B8 #B86940 #53B840
square
#408FB8 #A540B8 #B86940 #53B840
split-complementary
#408FB8 #B84053 #B8A540
monochromatic
#20485D #306C8B #408FB8 #6AAACB #97C4DB

Accessibility & contrast

On white

3.60
#408FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#408FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FB8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FB8#FFFFFF#000000##000000
##408FB81.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8EBA
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408fb8;
/* rgb */ color: rgb(64, 143, 184);
/* oklch */ color: oklch(61.8% 0.099 234.2);
Tailwind
colors: {
  custom: {
    50: '#81afcd',
    500: '#408fb8',
    950: '#000000',
  },
}
SCSS
$custom: #408fb8;
$custom-light: #81afcd;
$custom-dark: #000000;
JSON
{
  "hex": "#408fb8",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 184
  },
  "hsl": {
    "h": 200.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.09873,
    "h": 234.2
  },
  "luminance": 0.24196
}

Semantic roles & 50–950 ramp

primary
#408FB8
secondary
#C7A18D
accent
#7E50D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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