#408AB7#408AB7

#408AB7 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.6% C 0.100 H 238.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#408AB7
RGBrgb(64, 138, 183)
HSLhsl(203, 48%, 48%)
HSVhsv(203, 65%, 72%)
CMYKcmyk(65%, 24.6%, 0%, 28.2%)
CIE-LABlab(54.75, -8.80, -30.38)
CIE-LCHlch(54.75, 31.63, 253.84°)
OKLaboklab(60.58% -0.0528 -0.0853)
OKLCHoklch(60.58% 0.1 238.3)
XYZxyz(19.7468, 22.6838, 48.1283)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AB7 #B76D40
analogous
#40B7A8 #408AB7 #404EB7
triadic
#408AB7 #B7408A #8AB740
tetradic
#408AB7 #A840B7 #B76D40 #4EB740
square
#408AB7 #A840B7 #B76D40 #4EB740
split-complementary
#408AB7 #B7404E #B7A840
monochromatic
#20465C #30688A #408AB7 #69A6CB #97C1DB

Accessibility & contrast

On white

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

On black

5.54
#408AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AB7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AB7#FFFFFF#000000##000000
##408AB71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#758AB9
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408ab7;
/* rgb */ color: rgb(64, 138, 183);
/* oklch */ color: oklch(60.6% 0.100 238.3);
Tailwind
colors: {
  custom: {
    50: '#81accc',
    500: '#408ab7',
    950: '#000000',
  },
}
SCSS
$custom: #408ab7;
$custom-light: #81accc;
$custom-dark: #000000;
JSON
{
  "hex": "#408ab7",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 183
  },
  "hsl": {
    "h": 202.689,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.10033,
    "h": 238.3
  },
  "luminance": 0.22686
}

Semantic roles & 50–950 ramp

primary
#408AB7
secondary
#C6A28D
accent
#8350D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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