#408CBA#408CBA

#408CBA is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.2% C 0.102 H 238.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#408CBA
RGBrgb(64, 140, 186)
HSLhsl(203, 49%, 49%)
HSVhsv(203, 66%, 73%)
CMYKcmyk(65.6%, 24.7%, 0%, 27.1%)
CIE-LABlab(55.47, -8.93, -30.96)
CIE-LCHlch(55.47, 32.22, 253.90°)
OKLaboklab(61.2% -0.0539 -0.087)
OKLCHoklch(61.2% 0.102 238.2)
XYZxyz(20.3520, 23.3892, 49.8869)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408CBA #BA6E40
analogous
#40BAAB #408CBA #404FBA
triadic
#408CBA #BA408C #8CBA40
tetradic
#408CBA #AB40BA #BA6E40 #4FBA40
square
#408CBA #AB40BA #BA6E40 #4FBA40
split-complementary
#408CBA #BA404F #BAAB40
monochromatic
#21475F #306A8C #408CBA #6BA8CC #99C2DC

Accessibility & contrast

On white

3.70
#408CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#408CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408CBA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408CBA#FFFFFF#000000##000000
##408CBA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBC
Deuteranopia (green-blind)
#667FB9
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408cba;
/* rgb */ color: rgb(64, 140, 186);
/* oklch */ color: oklch(61.2% 0.102 238.2);
Tailwind
colors: {
  custom: {
    50: '#81adcf',
    500: '#408cba',
    950: '#000000',
  },
}
SCSS
$custom: #408cba;
$custom-light: #81adcf;
$custom-dark: #000000;
JSON
{
  "hex": "#408cba",
  "rgb": {
    "r": 64,
    "g": 140,
    "b": 186
  },
  "hsl": {
    "h": 202.623,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.10233,
    "h": 238.2
  },
  "luminance": 0.23391
}

Semantic roles & 50–950 ramp

primary
#408CBA
secondary
#C8A48E
accent
#834FD8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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