#408AB2#408AB2

#408AB2 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.095 H 235.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#408AB2
RGBrgb(64, 138, 178)
HSLhsl(201, 47%, 47%)
HSVhsv(201, 64%, 70%)
CMYKcmyk(64%, 22.5%, 0%, 30.2%)
CIE-LABlab(54.53, -10.46, -27.85)
CIE-LCHlch(54.53, 29.75, 249.41°)
OKLaboklab(60.34% -0.0545 -0.0781)
OKLCHoklch(60.34% 0.095 235.1)
XYZxyz(19.2356, 22.4793, 45.4361)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AB2 #B26840
analogous
#40B2A1 #408AB2 #4051B2
triadic
#408AB2 #B2408A #8AB240
tetradic
#408AB2 #A140B2 #B26840 #51B240
square
#408AB2 #A140B2 #B26840 #51B240
split-complementary
#408AB2 #B24051 #B2A140
monochromatic
#204458 #306785 #408AB2 #67A6C8 #94C0D8

Accessibility & contrast

On white

3.82
#408AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#408AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AB2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AB2#FFFFFF#000000##000000
##408AB21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408ab2;
/* rgb */ color: rgb(64, 138, 178);
/* oklch */ color: oklch(60.3% 0.095 235.1);
Tailwind
colors: {
  custom: {
    50: '#80acc9',
    500: '#408ab2',
    950: '#000000',
  },
}
SCSS
$custom: #408ab2;
$custom-light: #80acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#408ab2",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 201.053,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60344,
    "c": 0.09521,
    "h": 235.1
  },
  "luminance": 0.22481
}

Semantic roles & 50–950 ramp

primary
#408AB2
secondary
#C49E8A
accent
#8051D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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