#408EBB#408EBB

#408EBB is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.7% C 0.102 H 237.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#408EBB
RGBrgb(64, 142, 187)
HSLhsl(202, 49%, 49%)
HSVhsv(202, 66%, 73%)
CMYKcmyk(65.8%, 24.1%, 0%, 26.7%)
CIE-LABlab(56.11, -9.73, -30.53)
CIE-LCHlch(56.11, 32.05, 252.32°)
OKLaboklab(61.72% -0.0556 -0.0858)
OKLCHoklch(61.72% 0.102 237)
XYZxyz(20.7535, 24.0217, 50.5470)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EBB #BB6D40
analogous
#40BBAB #408EBB #4051BB
triadic
#408EBB #BB408E #8EBB40
tetradic
#408EBB #AB40BB #BB6D40 #51BB40
square
#408EBB #AB40BB #BB6D40 #51BB40
split-complementary
#408EBB #BB4051 #BBAB40
monochromatic
#214960 #306B8D #408EBB #6CA9CD #99C4DC

Accessibility & contrast

On white

3.62
#408EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#408EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EBB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EBB#FFFFFF#000000##000000
##408EBB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#798DBD
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408ebb;
/* rgb */ color: rgb(64, 142, 187);
/* oklch */ color: oklch(61.7% 0.102 237.0);
Tailwind
colors: {
  custom: {
    50: '#82afcf',
    500: '#408ebb',
    950: '#000000',
  },
}
SCSS
$custom: #408ebb;
$custom-light: #82afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#408ebb",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 201.951,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.10222,
    "h": 237
  },
  "luminance": 0.24024
}

Semantic roles & 50–950 ramp

primary
#408EBB
secondary
#C8A48F
accent
#814FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #408EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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