#408BB2#408BB2

#408BB2 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.095 H 234.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#408BB2
RGBrgb(64, 139, 178)
HSLhsl(201, 47%, 47%)
HSVhsv(201, 64%, 70%)
CMYKcmyk(64%, 21.9%, 0%, 30.2%)
CIE-LABlab(54.83, -11.02, -27.38)
CIE-LCHlch(54.83, 29.52, 248.07°)
OKLaboklab(60.58% -0.0556 -0.0767)
OKLCHoklch(60.58% 0.095 234.1)
XYZxyz(19.3797, 22.7676, 45.4841)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408BB2 #B26740
analogous
#40B2A0 #408BB2 #4052B2
triadic
#408BB2 #B2408B #8BB240
tetradic
#408BB2 #A040B2 #B26740 #52B240
square
#408BB2 #A040B2 #B26740 #52B240
split-complementary
#408BB2 #B24052 #B2A040
monochromatic
#204558 #306885 #408BB2 #67A7C8 #94C1D8

Accessibility & contrast

On white

3.78
#408BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#408BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408BB2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408BB2#FFFFFF#000000##000000
##408BB21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB4
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #408bb2;
/* rgb */ color: rgb(64, 139, 178);
/* oklch */ color: oklch(60.6% 0.095 234.1);
Tailwind
colors: {
  custom: {
    50: '#80acc9',
    500: '#408bb2',
    950: '#000000',
  },
}
SCSS
$custom: #408bb2;
$custom-light: #80acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#408bb2",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 200.526,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.09475,
    "h": 234.1
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#408BB2
secondary
#C49E8A
accent
#7F51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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