#408BCB#408BCB

#408BCB is a mid, vivid cyan. Relative luminance 0.239; OKLCH L 61.8% C 0.122 H 247.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#408BCB
RGBrgb(64, 139, 203)
HSLhsl(208, 57%, 52%)
HSVhsv(208, 68%, 80%)
CMYKcmyk(68.5%, 31.5%, 0%, 20.4%)
CIE-LABlab(55.95, -2.57, -39.85)
CIE-LCHlch(55.95, 39.93, 266.30°)
OKLaboklab(61.84% -0.0475 -0.1128)
OKLCHoklch(61.84% 0.122 247.2)
XYZxyz(22.1224, 23.8647, 59.9288)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BCB #CB8040
analogous
#40CBC6 #408BCB #4045CB
triadic
#408BCB #CB408B #8BCB40
tetradic
#408BCB #C640CB #CB8040 #45CB40
square
#408BCB #C640CB #CB8040 #45CB40
split-complementary
#408BCB #CB4045 #CBC640
monochromatic
#1F4C72 #2C6CA2 #408BCB #70A8D8 #A0C5E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408BCB#FFFFFF#000000##000000
##408BCB1.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)
#6E8DCE
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#009AA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408bcb;
/* rgb */ color: rgb(64, 139, 203);
/* oklch */ color: oklch(61.8% 0.122 247.2);
Tailwind
colors: {
  custom: {
    50: '#84acdb',
    500: '#408bcb',
    950: '#000000',
  },
}
SCSS
$custom: #408bcb;
$custom-light: #84acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#408bcb",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 203
  },
  "hsl": {
    "h": 207.626,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.12237,
    "h": 247.2
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

primary
#408BCB
secondary
#D2B195
accent
#8E47E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #408BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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