#408FB3#408FB3

#408FB3 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.6% C 0.094 H 230.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#408FB3
RGBrgb(64, 143, 179)
HSLhsl(199, 47%, 48%)
HSVhsv(199, 64%, 70%)
CMYKcmyk(64.2%, 20.1%, 0%, 29.8%)
CIE-LABlab(56.08, -12.93, -26.03)
CIE-LCHlch(56.08, 29.07, 243.59°)
OKLaboklab(61.59% -0.0595 -0.0728)
OKLCHoklch(61.59% 0.094 230.7)
XYZxyz(20.0703, 23.9875, 46.2114)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408FB3 #B36440
analogous
#40B39E #408FB3 #4055B3
triadic
#408FB3 #B3408F #8FB340
tetradic
#408FB3 #9E40B3 #B36440 #55B340
square
#408FB3 #9E40B3 #B36440 #55B340
split-complementary
#408FB3 #B34055 #B39E40
monochromatic
#204759 #306B86 #408FB3 #67AAC9 #94C3D9

Accessibility & contrast

On white

3.62
#408FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#408FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408FB3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408FB3#FFFFFF#000000##000000
##408FB31.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB5
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408fb3;
/* rgb */ color: rgb(64, 143, 179);
/* oklch */ color: oklch(61.6% 0.094 230.7);
Tailwind
colors: {
  custom: {
    50: '#81afca',
    500: '#408fb3',
    950: '#000000',
  },
}
SCSS
$custom: #408fb3;
$custom-light: #81afca;
$custom-dark: #000000;
JSON
{
  "hex": "#408fb3",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 198.783,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.09408,
    "h": 230.7
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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