#407FBC#407FBC

#407FBC is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.115 H 249.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#407FBC
RGBrgb(64, 127, 188)
HSLhsl(210, 49%, 49%)
HSVhsv(210, 66%, 74%)
CMYKcmyk(66%, 32.4%, 0%, 26.3%)
CIE-LABlab(51.72, -0.69, -37.97)
CIE-LCHlch(51.72, 37.97, 268.95°)
OKLaboklab(58.27% -0.0396 -0.1074)
OKLCHoklch(58.27% 0.115 249.7)
XYZxyz(18.7775, 19.8977, 50.4183)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FBC #BC7D40
analogous
#40BCBB #407FBC #4041BC
triadic
#407FBC #BC407F #7FBC40
tetradic
#407FBC #BB40BC #BC7D40 #41BC40
square
#407FBC #BB40BC #BC7D40 #41BC40
split-complementary
#407FBC #BC4041 #BCBB40
monochromatic
#214161 #30608E #407FBC #6C9DCD #9ABCDD

Accessibility & contrast

On white

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

On black

4.98
#407FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FBC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FBC#FFFFFF#000000##000000
##407FBC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407fbc;
/* rgb */ color: rgb(64, 127, 188);
/* oklch */ color: oklch(58.3% 0.115 249.7);
Tailwind
colors: {
  custom: {
    50: '#81a3d0',
    500: '#407fbc',
    950: '#000000',
  },
}
SCSS
$custom: #407fbc;
$custom-light: #81a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#407fbc",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 209.516,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.11452,
    "h": 249.7
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#407FBC
secondary
#C9AB8F
accent
#934FD9
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #407FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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