#408ABB#408ABB

#408ABB is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.8% C 0.105 H 240.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#408ABB
RGBrgb(64, 138, 187)
HSLhsl(204, 49%, 49%)
HSVhsv(204, 66%, 73%)
CMYKcmyk(65.8%, 26.2%, 0%, 26.7%)
CIE-LABlab(54.92, -7.46, -32.39)
CIE-LCHlch(54.92, 33.23, 257.03°)
OKLaboklab(60.78% -0.0514 -0.0911)
OKLCHoklch(60.78% 0.105 240.6)
XYZxyz(20.1690, 22.8527, 50.3522)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408ABB #BB7140
analogous
#40BBAF #408ABB #404DBB
triadic
#408ABB #BB408A #8ABB40
tetradic
#408ABB #AF40BB #BB7140 #4DBB40
square
#408ABB #AF40BB #BB7140 #4DBB40
split-complementary
#408ABB #BB404D #BBAF40
monochromatic
#214760 #30688D #408ABB #6CA6CD #99C2DC

Accessibility & contrast

On white

3.77
#408ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#408ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408ABB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408ABB#FFFFFF#000000##000000
##408ABB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABD
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#00969B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408abb;
/* rgb */ color: rgb(64, 138, 187);
/* oklch */ color: oklch(60.8% 0.105 240.6);
Tailwind
colors: {
  custom: {
    50: '#82accf',
    500: '#408abb',
    950: '#000000',
  },
}
SCSS
$custom: #408abb;
$custom-light: #82accf;
$custom-dark: #000000;
JSON
{
  "hex": "#408abb",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 187
  },
  "hsl": {
    "h": 203.902,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.10465,
    "h": 240.6
  },
  "luminance": 0.22855
}

Semantic roles & 50–950 ramp

primary
#408ABB
secondary
#C8A68F
accent
#864FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #408ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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