#408AAA#408AAA

#408AAA is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.088 H 229.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#408AAA
RGBrgb(64, 138, 170)
HSLhsl(198, 45%, 46%)
HSVhsv(198, 62%, 67%)
CMYKcmyk(62.4%, 18.8%, 0%, 33.3%)
CIE-LABlab(54.20, -13.07, -23.77)
CIE-LCHlch(54.20, 27.12, 241.19°)
OKLaboklab(59.98% -0.0574 -0.0664)
OKLCHoklch(59.98% 0.088 229.1)
XYZxyz(18.4557, 22.1674, 41.3285)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408AAA #AA6040
analogous
#40AA95 #408AAA #4055AA
triadic
#408AAA #AA408A #8AAA40
tetradic
#408AAA #9540AA #AA6040 #55AA40
square
#408AAA #9540AA #AA6040 #55AA40
split-complementary
#408AAA #AA4055 #AA9540
monochromatic
#1F4251 #2F667E #408AAA #63A7C4 #8FC0D5

Accessibility & contrast

On white

3.86
#408AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#408AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408AAA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408AAA#FFFFFF#000000##000000
##408AAA1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A88AC
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #408aaa;
/* rgb */ color: rgb(64, 138, 170);
/* oklch */ color: oklch(60.0% 0.088 229.1);
Tailwind
colors: {
  custom: {
    50: '#7facc3',
    500: '#408aaa',
    950: '#000000',
  },
}
SCSS
$custom: #408aaa;
$custom-light: #7facc3;
$custom-dark: #000000;
JSON
{
  "hex": "#408aaa",
  "rgb": {
    "r": 64,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 198.113,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.08778,
    "h": 229.1
  },
  "luminance": 0.22169
}

Semantic roles & 50–950 ramp

primary
#408AAA
secondary
#C09786
accent
#7A53D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #408AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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