#407EB9#407EB9

#407EB9 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.9% C 0.112 H 249.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407EB9
RGBrgb(64, 126, 185)
HSLhsl(209, 49%, 49%)
HSVhsv(209, 65%, 73%)
CMYKcmyk(65.4%, 31.9%, 0%, 27.5%)
CIE-LABlab(51.28, -1.14, -36.94)
CIE-LCHlch(51.28, 36.96, 268.24°)
OKLaboklab(57.88% -0.0395 -0.1044)
OKLCHoklch(57.88% 0.112 249.3)
XYZxyz(18.3289, 19.5126, 48.6899)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EB9 #B97B40
analogous
#40B9B8 #407EB9 #4042B9
triadic
#407EB9 #B9407E #7EB940
tetradic
#407EB9 #B840B9 #B97B40 #42B940
square
#407EB9 #B840B9 #B97B40 #42B940
split-complementary
#407EB9 #B94042 #B9B840
monochromatic
#21405E #305F8C #407EB9 #6B9CCC #98BBDB

Accessibility & contrast

On white

4.28
#407EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EB9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EB9#FFFFFF#000000##000000
##407EB91.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BC
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407eb9;
/* rgb */ color: rgb(64, 126, 185);
/* oklch */ color: oklch(57.9% 0.112 249.3);
Tailwind
colors: {
  custom: {
    50: '#81a3ce',
    500: '#407eb9',
    950: '#000000',
  },
}
SCSS
$custom: #407eb9;
$custom-light: #81a3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#407eb9",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 185
  },
  "hsl": {
    "h": 209.256,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.11166,
    "h": 249.3
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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