#408ABA#408ABA

#408ABA is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.7% C 0.104 H 240.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#408ABA
RGBrgb(64, 138, 186)
HSLhsl(204, 49%, 49%)
HSVhsv(204, 66%, 73%)
CMYKcmyk(65.6%, 25.8%, 0%, 27.1%)
CIE-LABlab(54.88, -7.80, -31.88)
CIE-LCHlch(54.88, 32.82, 256.26°)
OKLaboklab(60.73% -0.0518 -0.0897)
OKLCHoklch(60.73% 0.104 240)
XYZxyz(20.0624, 22.8100, 49.7903)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408ABA #BA7040
analogous
#40BAAD #408ABA #404DBA
triadic
#408ABA #BA408A #8ABA40
tetradic
#408ABA #AD40BA #BA7040 #4DBA40
square
#408ABA #AD40BA #BA7040 #4DBA40
split-complementary
#408ABA #BA404D #BAAD40
monochromatic
#21465F #30688C #408ABA #6BA6CC #99C1DC

Accessibility & contrast

On white

3.78
#408ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#408ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408ABA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408ABA#FFFFFF#000000##000000
##408ABA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABC
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408aba;
/* rgb */ color: rgb(64, 138, 186);
/* oklch */ color: oklch(60.7% 0.104 240.0);
Tailwind
colors: {
  custom: {
    50: '#81accf',
    500: '#408aba',
    950: '#000000',
  },
}
SCSS
$custom: #408aba;
$custom-light: #81accf;
$custom-dark: #000000;
JSON
{
  "hex": "#408aba",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 203.607,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.10355,
    "h": 240
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#408ABA
secondary
#C8A58E
accent
#854FD8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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