#408CBF#408CBF

#408CBF is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.4% C 0.108 H 241.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#408CBF
RGBrgb(64, 140, 191)
HSLhsl(204, 50%, 50%)
HSVhsv(204, 66%, 75%)
CMYKcmyk(66.5%, 26.7%, 0%, 25.1%)
CIE-LABlab(55.69, -7.26, -33.46)
CIE-LCHlch(55.69, 34.24, 257.76°)
OKLaboklab(61.45% -0.0522 -0.0942)
OKLCHoklch(61.45% 0.108 241)
XYZxyz(20.8928, 23.6056, 52.7354)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CBF #BF7340
analogous
#40BFB2 #408CBF #404DBF
triadic
#408CBF #BF408C #8CBF40
tetradic
#408CBF #B240BF #BF7340 #4DBF40
square
#408CBF #B240BF #BF7340 #4DBF40
split-complementary
#408CBF #BF404D #BFB240
monochromatic
#214963 #316A91 #408CBF #6EA8CE #9CC3DE

Accessibility & contrast

On white

3.67
#408CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#408CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CBF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CBF#FFFFFF#000000##000000
##408CBF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CC1
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#00999E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408cbf;
/* rgb */ color: rgb(64, 140, 191);
/* oklch */ color: oklch(61.4% 0.108 241.0);
Tailwind
colors: {
  custom: {
    50: '#82add2',
    500: '#408cbf',
    950: '#000000',
  },
}
SCSS
$custom: #408cbf;
$custom-light: #82add2;
$custom-dark: #000000;
JSON
{
  "hex": "#408cbf",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 191
  },
  "hsl": {
    "h": 204.094,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.10772,
    "h": 241
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#408CBF
secondary
#CAA891
accent
#864ED9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1014
muted
#7D7F82

Preview Lab

Preview with #408CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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