#408DB1#408DB1

#408DB1 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.0% C 0.093 H 231.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#408DB1
RGBrgb(64, 141, 177)
HSLhsl(199, 47%, 47%)
HSVhsv(199, 64%, 69%)
CMYKcmyk(63.8%, 20.3%, 0%, 30.6%)
CIE-LABlab(55.39, -12.47, -25.95)
CIE-LCHlch(55.39, 28.79, 244.33°)
OKLaboklab(61.02% -0.0581 -0.0726)
OKLCHoklch(61.02% 0.093 231.3)
XYZxyz(19.5719, 23.3121, 45.0547)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DB1 #B16440
analogous
#40B19D #408DB1 #4055B1
triadic
#408DB1 #B1408D #8DB140
tetradic
#408DB1 #9D40B1 #B16440 #55B140
square
#408DB1 #9D40B1 #B16440 #55B140
split-complementary
#408DB1 #B14055 #B19D40
monochromatic
#1F4557 #306984 #408DB1 #66A9C8 #93C2D8

Accessibility & contrast

On white

3.71
#408DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#408DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DB1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DB1#FFFFFF#000000##000000
##408DB11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB3
Deuteranopia (green-blind)
#6B80B0
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408db1;
/* rgb */ color: rgb(64, 141, 177);
/* oklch */ color: oklch(61.0% 0.093 231.3);
Tailwind
colors: {
  custom: {
    50: '#80aec8',
    500: '#408db1',
    950: '#000000',
  },
}
SCSS
$custom: #408db1;
$custom-light: #80aec8;
$custom-dark: #000000;
JSON
{
  "hex": "#408db1",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 199.115,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.09298,
    "h": 231.3
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#408DB1
secondary
#C39C89
accent
#7C51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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