#408CB1#408CB1

#408CB1 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.8% C 0.093 H 232.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#408CB1
RGBrgb(64, 140, 177)
HSLhsl(200, 47%, 47%)
HSVhsv(200, 64%, 69%)
CMYKcmyk(63.8%, 20.9%, 0%, 30.6%)
CIE-LABlab(55.09, -11.91, -26.41)
CIE-LCHlch(55.09, 28.97, 245.73°)
OKLaboklab(60.78% -0.057 -0.0739)
OKLCHoklch(60.78% 0.093 232.3)
XYZxyz(19.4252, 23.0185, 45.0057)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CB1 #B16540
analogous
#40B19E #408CB1 #4054B1
triadic
#408CB1 #B1408C #8CB140
tetradic
#408CB1 #9E40B1 #B16540 #54B140
square
#408CB1 #9E40B1 #B16540 #54B140
split-complementary
#408CB1 #B14054 #B19E40
monochromatic
#1F4557 #306884 #408CB1 #66A8C8 #93C2D8

Accessibility & contrast

On white

3.75
#408CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#408CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CB1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CB1#FFFFFF#000000##000000
##408CB11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8AB3
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #408cb1;
/* rgb */ color: rgb(64, 140, 177);
/* oklch */ color: oklch(60.8% 0.093 232.3);
Tailwind
colors: {
  custom: {
    50: '#80adc8',
    500: '#408cb1',
    950: '#000000',
  },
}
SCSS
$custom: #408cb1;
$custom-light: #80adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#408cb1",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 199.646,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.09337,
    "h": 232.3
  },
  "luminance": 0.2302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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