#408EB3#408EB3

#408EB3 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.094 H 231.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#408EB3
RGBrgb(64, 142, 179)
HSLhsl(199, 47%, 48%)
HSVhsv(199, 64%, 70%)
CMYKcmyk(64.2%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.77, -12.37, -26.50)
CIE-LCHlch(55.77, 29.24, 244.97°)
OKLaboklab(61.35% -0.0585 -0.0742)
OKLCHoklch(61.35% 0.094 231.7)
XYZxyz(19.9209, 23.6886, 46.1616)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EB3 #B36540
analogous
#40B39E #408EB3 #4055B3
triadic
#408EB3 #B3408E #8EB340
tetradic
#408EB3 #9E40B3 #B36540 #55B340
square
#408EB3 #9E40B3 #B36540 #55B340
split-complementary
#408EB3 #B34055 #B39E40
monochromatic
#204659 #306A86 #408EB3 #67A9C9 #94C3D9

Accessibility & contrast

On white

3.66
#408EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#408EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408EB3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408EB3#FFFFFF#000000##000000
##408EB31.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB5
Deuteranopia (green-blind)
#6C80B2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408eb3;
/* rgb */ color: rgb(64, 142, 179);
/* oklch */ color: oklch(61.3% 0.094 231.7);
Tailwind
colors: {
  custom: {
    50: '#81afca',
    500: '#408eb3',
    950: '#000000',
  },
}
SCSS
$custom: #408eb3;
$custom-light: #81afca;
$custom-dark: #000000;
JSON
{
  "hex": "#408eb3",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 199.304,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.09444,
    "h": 231.7
  },
  "luminance": 0.23691
}

Semantic roles & 50–950 ramp

primary
#408EB3
secondary
#C49D8A
accent
#7C51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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