#408EBA#408EBA

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

Color values

HEX#408EBA
RGBrgb(64, 142, 186)
HSLhsl(202, 49%, 49%)
HSVhsv(202, 66%, 73%)
CMYKcmyk(65.6%, 23.7%, 0%, 27.1%)
CIE-LABlab(56.07, -10.06, -30.03)
CIE-LCHlch(56.07, 31.67, 251.47°)
OKLaboklab(61.68% -0.056 -0.0843)
OKLCHoklch(61.68% 0.101 236.4)
XYZxyz(20.6469, 23.9790, 49.9852)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408EBA #BA6C40
analogous
#40BAA9 #408EBA #4051BA
triadic
#408EBA #BA408E #8EBA40
tetradic
#408EBA #A940BA #BA6C40 #51BA40
square
#408EBA #A940BA #BA6C40 #51BA40
split-complementary
#408EBA #BA4051 #BAA940
monochromatic
#21485F #306B8C #408EBA #6BA9CC #99C4DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408EBA#FFFFFF#000000##000000
##408EBA1.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)
#798DBC
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #408eba;
/* rgb */ color: rgb(64, 142, 186);
/* oklch */ color: oklch(61.7% 0.101 236.4);
Tailwind
colors: {
  custom: {
    50: '#82afcf',
    500: '#408eba',
    950: '#000000',
  },
}
SCSS
$custom: #408eba;
$custom-light: #82afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#408eba",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 201.639,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.10121,
    "h": 236.4
  },
  "luminance": 0.23981
}

Semantic roles & 50–950 ramp

primary
#408EBA
secondary
#C8A38E
accent
#814FD8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #408EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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