#408EBF#408EBF

#408EBF is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.9% C 0.106 H 239.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#408EBF
RGBrgb(64, 142, 191)
HSLhsl(203, 50%, 50%)
HSVhsv(203, 66%, 75%)
CMYKcmyk(66.5%, 25.7%, 0%, 25.1%)
CIE-LABlab(56.28, -8.39, -32.54)
CIE-LCHlch(56.28, 33.60, 255.53°)
OKLaboklab(61.92% -0.0543 -0.0915)
OKLCHoklch(61.92% 0.106 239.3)
XYZxyz(21.1877, 24.1954, 52.8337)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EBF #BF7140
analogous
#40BFB1 #408EBF #404EBF
triadic
#408EBF #BF408E #8EBF40
tetradic
#408EBF #B140BF #BF7140 #4EBF40
square
#408EBF #B140BF #BF7140 #4EBF40
split-complementary
#408EBF #BF404E #BFB140
monochromatic
#214A63 #316C91 #408EBF #6EA9CE #9CC4DE

Accessibility & contrast

On white

3.60
#408EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#408EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EBF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EBF#FFFFFF#000000##000000
##408EBF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC1
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#009A9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #408ebf;
/* rgb */ color: rgb(64, 142, 191);
/* oklch */ color: oklch(61.9% 0.106 239.3);
Tailwind
colors: {
  custom: {
    50: '#82afd2',
    500: '#408ebf',
    950: '#000000',
  },
}
SCSS
$custom: #408ebf;
$custom-light: #82afd2;
$custom-dark: #000000;
JSON
{
  "hex": "#408ebf",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 191
  },
  "hsl": {
    "h": 203.15,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.10642,
    "h": 239.3
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#408EBF
secondary
#CAA791
accent
#844ED9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1014
muted
#7D7F82

Preview Lab

Preview with #408EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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