#408BB1#408BB1

#408BB1 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.094 H 233.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#408BB1
RGBrgb(64, 139, 177)
HSLhsl(200, 47%, 47%)
HSVhsv(200, 64%, 69%)
CMYKcmyk(63.8%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.79, -11.35, -26.88)
CIE-LCHlch(54.79, 29.17, 247.10°)
OKLaboklab(60.54% -0.056 -0.0753)
OKLCHoklch(60.54% 0.094 233.4)
XYZxyz(19.2797, 22.7276, 44.9573)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BB1 #B16640
analogous
#40B19F #408BB1 #4053B1
triadic
#408BB1 #B1408B #8BB140
tetradic
#408BB1 #9F40B1 #B16640 #53B140
square
#408BB1 #9F40B1 #B16640 #53B140
split-complementary
#408BB1 #B14053 #B19F40
monochromatic
#1F4457 #306884 #408BB1 #66A7C8 #93C1D8

Accessibility & contrast

On white

3.79
#408BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#408BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BB1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BB1#FFFFFF#000000##000000
##408BB11.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB3
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408bb1;
/* rgb */ color: rgb(64, 139, 177);
/* oklch */ color: oklch(60.5% 0.094 233.4);
Tailwind
colors: {
  custom: {
    50: '#80acc8',
    500: '#408bb1',
    950: '#000000',
  },
}
SCSS
$custom: #408bb1;
$custom-light: #80acc8;
$custom-dark: #000000;
JSON
{
  "hex": "#408bb1",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 200.177,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.09378,
    "h": 233.4
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#408BB1
secondary
#C39D89
accent
#7E51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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