#408EB7#408EB7

#408EB7 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.098 H 234.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#408EB7
RGBrgb(64, 142, 183)
HSLhsl(201, 48%, 48%)
HSVhsv(201, 65%, 72%)
CMYKcmyk(65%, 22.4%, 0%, 28.2%)
CIE-LABlab(55.94, -11.06, -28.52)
CIE-LCHlch(55.94, 30.59, 248.81°)
OKLaboklab(61.53% -0.057 -0.08)
OKLCHoklch(61.53% 0.098 234.5)
XYZxyz(20.3313, 23.8528, 48.3231)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EB7 #B76940
analogous
#40B7A4 #408EB7 #4053B7
triadic
#408EB7 #B7408E #8EB740
tetradic
#408EB7 #A440B7 #B76940 #53B740
square
#408EB7 #A440B7 #B76940 #53B740
split-complementary
#408EB7 #B74053 #B7A440
monochromatic
#20485C #306B8A #408EB7 #69A9CB #97C3DB

Accessibility & contrast

On white

3.64
#408EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#408EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EB7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EB7#FFFFFF#000000##000000
##408EB71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8DB9
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408eb7;
/* rgb */ color: rgb(64, 142, 183);
/* oklch */ color: oklch(61.5% 0.098 234.5);
Tailwind
colors: {
  custom: {
    50: '#81afcc',
    500: '#408eb7',
    950: '#000000',
  },
}
SCSS
$custom: #408eb7;
$custom-light: #81afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#408eb7",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 200.672,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.09822,
    "h": 234.5
  },
  "luminance": 0.23855
}

Semantic roles & 50–950 ramp

primary
#408EB7
secondary
#C6A08D
accent
#7F50D8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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