#408DB2#408DB2

#408DB2 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.1% C 0.094 H 232.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#408DB2
RGBrgb(64, 141, 178)
HSLhsl(199, 47%, 47%)
HSVhsv(199, 64%, 70%)
CMYKcmyk(64%, 20.8%, 0%, 30.2%)
CIE-LABlab(55.43, -12.14, -26.45)
CIE-LCHlch(55.43, 29.11, 245.35°)
OKLaboklab(61.06% -0.0578 -0.074)
OKLCHoklch(61.06% 0.094 232)
XYZxyz(19.6720, 23.3521, 45.5815)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408DB2 #B26540
analogous
#40B29E #408DB2 #4054B2
triadic
#408DB2 #B2408D #8DB240
tetradic
#408DB2 #9E40B2 #B26540 #54B240
square
#408DB2 #9E40B2 #B26540 #54B240
split-complementary
#408DB2 #B24054 #B29E40
monochromatic
#204658 #306985 #408DB2 #67A9C8 #94C2D8

Accessibility & contrast

On white

3.70
#408DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#408DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408DB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408DB2#FFFFFF#000000##000000
##408DB21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB4
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #408db2;
/* rgb */ color: rgb(64, 141, 178);
/* oklch */ color: oklch(61.1% 0.094 232.0);
Tailwind
colors: {
  custom: {
    50: '#80aec9',
    500: '#408db2',
    950: '#000000',
  },
}
SCSS
$custom: #408db2;
$custom-light: #80aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#408db2",
  "rgb": {
    "r": 64,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 199.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.0939,
    "h": 232
  },
  "luminance": 0.23354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #408DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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