#408BB4#408BB4

#408BB4 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.7% C 0.097 H 235.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#408BB4
RGBrgb(64, 139, 180)
HSLhsl(201, 48%, 48%)
HSVhsv(201, 64%, 71%)
CMYKcmyk(64.4%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.92, -10.36, -28.40)
CIE-LCHlch(54.92, 30.23, 249.95°)
OKLaboklab(60.68% -0.0549 -0.0796)
OKLCHoklch(60.68% 0.097 235.4)
XYZxyz(19.5820, 22.8485, 46.5494)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BB4 #B46940
analogous
#40B4A3 #408BB4 #4051B4
triadic
#408BB4 #B4408B #8BB440
tetradic
#408BB4 #A340B4 #B46940 #51B440
square
#408BB4 #A340B4 #B46940 #51B440
split-complementary
#408BB4 #B44051 #B4A340
monochromatic
#20455A #306887 #408BB4 #68A7C9 #95C1D9

Accessibility & contrast

On white

3.77
#408BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#408BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BB4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BB4#FFFFFF#000000##000000
##408BB41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB6
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408bb4;
/* rgb */ color: rgb(64, 139, 180);
/* oklch */ color: oklch(60.7% 0.097 235.4);
Tailwind
colors: {
  custom: {
    50: '#81acca',
    500: '#408bb4',
    950: '#000000',
  },
}
SCSS
$custom: #408bb4;
$custom-light: #81acca;
$custom-dark: #000000;
JSON
{
  "hex": "#408bb4",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 201.207,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.09672,
    "h": 235.4
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#408BB4
secondary
#C59F8B
accent
#8051D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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