#408FB1#408FB1

#408FB1 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.092 H 229.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#408FB1
RGBrgb(64, 143, 177)
HSLhsl(198, 47%, 47%)
HSVhsv(198, 64%, 69%)
CMYKcmyk(63.8%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.99, -13.58, -25.02)
CIE-LCHlch(55.99, 28.46, 241.51°)
OKLaboklab(61.5% -0.0603 -0.0699)
OKLCHoklch(61.5% 0.092 229.2)
XYZxyz(19.8695, 23.9072, 45.1539)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FB1 #B16240
analogous
#40B19B #408FB1 #4057B1
triadic
#408FB1 #B1408F #8FB140
tetradic
#408FB1 #9B40B1 #B16240 #57B140
square
#408FB1 #9B40B1 #B16240 #57B140
split-complementary
#408FB1 #B14057 #B19B40
monochromatic
#1F4657 #306B84 #408FB1 #66ABC8 #93C3D8

Accessibility & contrast

On white

3.63
#408FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#408FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FB1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FB1#FFFFFF#000000##000000
##408FB11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB3
Deuteranopia (green-blind)
#6E81B1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408fb1;
/* rgb */ color: rgb(64, 143, 177);
/* oklch */ color: oklch(61.5% 0.092 229.2);
Tailwind
colors: {
  custom: {
    50: '#80afc8',
    500: '#408fb1',
    950: '#000000',
  },
}
SCSS
$custom: #408fb1;
$custom-light: #80afc8;
$custom-dark: #000000;
JSON
{
  "hex": "#408fb1",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 198.053,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.09232,
    "h": 229.2
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#408FB1
secondary
#C39B89
accent
#7951D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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