#408DB7#408DB7

#408DB7 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.3% C 0.099 H 235.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#408DB7
RGBrgb(64, 141, 183)
HSLhsl(201, 48%, 48%)
HSVhsv(201, 65%, 72%)
CMYKcmyk(65%, 23%, 0%, 28.2%)
CIE-LABlab(55.64, -10.50, -28.98)
CIE-LCHlch(55.64, 30.83, 250.09°)
OKLaboklab(61.3% -0.056 -0.0813)
OKLCHoklch(61.3% 0.099 235.5)
XYZxyz(20.1832, 23.5566, 48.2738)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DB7 #B76A40
analogous
#40B7A5 #408DB7 #4052B7
triadic
#408DB7 #B7408D #8DB740
tetradic
#408DB7 #A540B7 #B76A40 #52B740
square
#408DB7 #A540B7 #B76A40 #52B740
split-complementary
#408DB7 #B74052 #B7A540
monochromatic
#20475C #306A8A #408DB7 #69A8CB #97C3DB

Accessibility & contrast

On white

3.68
#408DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#408DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DB7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DB7#FFFFFF#000000##000000
##408DB71.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408db7;
/* rgb */ color: rgb(64, 141, 183);
/* oklch */ color: oklch(61.3% 0.099 235.5);
Tailwind
colors: {
  custom: {
    50: '#81aecc',
    500: '#408db7',
    950: '#000000',
  },
}
SCSS
$custom: #408db7;
$custom-light: #81aecc;
$custom-dark: #000000;
JSON
{
  "hex": "#408db7",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 201.176,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.09871,
    "h": 235.5
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#408DB7
secondary
#C6A18D
accent
#8050D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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