#407EB8#407EB8

#407EB8 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.110 H 248.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#407EB8
RGBrgb(64, 126, 184)
HSLhsl(209, 48%, 49%)
HSVhsv(209, 65%, 72%)
CMYKcmyk(65.2%, 31.5%, 0%, 27.8%)
CIE-LABlab(51.23, -1.48, -36.44)
CIE-LCHlch(51.23, 36.47, 267.67°)
OKLaboklab(57.83% -0.0398 -0.103)
OKLCHoklch(57.83% 0.11 248.9)
XYZxyz(18.2237, 19.4706, 48.1359)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EB8 #B87A40
analogous
#40B8B6 #407EB8 #4042B8
triadic
#407EB8 #B8407E #7EB840
tetradic
#407EB8 #B640B8 #B87A40 #42B840
square
#407EB8 #B640B8 #B87A40 #42B840
split-complementary
#407EB8 #B84042 #B8B640
monochromatic
#20405D #305F8B #407EB8 #6A9CCB #97BADB

Accessibility & contrast

On white

4.29
#407EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#407EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EB8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EB8#FFFFFF#000000##000000
##407EB81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580BB
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407eb8;
/* rgb */ color: rgb(64, 126, 184);
/* oklch */ color: oklch(57.8% 0.110 248.9);
Tailwind
colors: {
  custom: {
    50: '#81a3cd',
    500: '#407eb8',
    950: '#000000',
  },
}
SCSS
$custom: #407eb8;
$custom-light: #81a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407eb8",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 209,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.11041,
    "h": 248.9
  },
  "luminance": 0.19472
}

Semantic roles & 50–950 ramp

primary
#407EB8
secondary
#C7A98D
accent
#9250D8
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407EB8

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

Preview Lab → · Contrast checker → · Palette generator →

#407EB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva