#408AB1#408AB1

#408AB1 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.3% C 0.094 H 234.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#408AB1
RGBrgb(64, 138, 177)
HSLhsl(201, 47%, 47%)
HSVhsv(201, 64%, 69%)
CMYKcmyk(63.8%, 22%, 0%, 30.6%)
CIE-LABlab(54.49, -10.79, -27.34)
CIE-LCHlch(54.49, 29.39, 248.46°)
OKLaboklab(60.3% -0.0549 -0.0766)
OKLCHoklch(60.3% 0.094 234.4)
XYZxyz(19.1356, 22.4393, 44.9092)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AB1 #B16740
analogous
#40B1A0 #408AB1 #4052B1
triadic
#408AB1 #B1408A #8AB140
tetradic
#408AB1 #A040B1 #B16740 #52B140
square
#408AB1 #A040B1 #B16740 #52B140
split-complementary
#408AB1 #B14052 #B1A040
monochromatic
#1F4457 #306784 #408AB1 #66A6C8 #93C0D8

Accessibility & contrast

On white

3.83
#408AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#408AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AB1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AB1#FFFFFF#000000##000000
##408AB11.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408ab1;
/* rgb */ color: rgb(64, 138, 177);
/* oklch */ color: oklch(60.3% 0.094 234.4);
Tailwind
colors: {
  custom: {
    50: '#80acc8',
    500: '#408ab1',
    950: '#000000',
  },
}
SCSS
$custom: #408ab1;
$custom-light: #80acc8;
$custom-dark: #000000;
JSON
{
  "hex": "#408ab1",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 200.708,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.09423,
    "h": 234.4
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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