#407FBB#407FBB

#407FBB is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.2% C 0.113 H 249.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407FBB
RGBrgb(64, 127, 187)
HSLhsl(209, 49%, 49%)
HSVhsv(209, 66%, 73%)
CMYKcmyk(65.8%, 32.1%, 0%, 26.7%)
CIE-LABlab(51.67, -1.04, -37.47)
CIE-LCHlch(51.67, 37.49, 268.41°)
OKLaboklab(58.22% -0.0399 -0.106)
OKLCHoklch(58.22% 0.113 249.4)
XYZxyz(18.6700, 19.8547, 49.8525)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FBB #BB7C40
analogous
#40BBBA #407FBB #4042BB
triadic
#407FBB #BB407F #7FBB40
tetradic
#407FBB #BA40BB #BB7C40 #42BB40
square
#407FBB #BA40BB #BB7C40 #42BB40
split-complementary
#407FBB #BB4042 #BBBA40
monochromatic
#214160 #30608D #407FBB #6C9DCD #99BCDC

Accessibility & contrast

On white

4.22
#407FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#407FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FBB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FBB#FFFFFF#000000##000000
##407FBB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407fbb;
/* rgb */ color: rgb(64, 127, 187);
/* oklch */ color: oklch(58.2% 0.113 249.4);
Tailwind
colors: {
  custom: {
    50: '#81a3cf',
    500: '#407fbb',
    950: '#000000',
  },
}
SCSS
$custom: #407fbb;
$custom-light: #81a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#407fbb",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 209.268,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.11327,
    "h": 249.4
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#407FBB
secondary
#C8AB8F
accent
#924FD9
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #407FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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