#407BBD#407BBD

#407BBD is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.120 H 252.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407BBD
RGBrgb(64, 123, 189)
HSLhsl(212, 49%, 50%)
HSVhsv(212, 66%, 74%)
CMYKcmyk(66.1%, 34.9%, 0%, 25.9%)
CIE-LABlab(50.60, 2.05, -40.31)
CIE-LCHlch(50.60, 40.36, 272.92°)
OKLaboklab(57.41% -0.0352 -0.1143)
OKLCHoklch(57.41% 0.12 252.9)
XYZxyz(18.3793, 18.9282, 50.8192)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BBD #BD8240
analogous
#40BABD #407BBD #4440BD
triadic
#407BBD #BD407B #7BBD40
tetradic
#407BBD #BD40BA #BD8240 #40BD44
square
#407BBD #BD40BA #BD8240 #40BD44
split-complementary
#407BBD #BD4440 #BABD40
monochromatic
#213F62 #315D8F #407BBD #6D9ACD #9ABADD

Accessibility & contrast

On white

4.39
#407BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#407BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BBD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BBD#FFFFFF#000000##000000
##407BBD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407bbd;
/* rgb */ color: rgb(64, 123, 189);
/* oklch */ color: oklch(57.4% 0.120 252.9);
Tailwind
colors: {
  custom: {
    50: '#82a0d1',
    500: '#407bbd',
    950: '#000000',
  },
}
SCSS
$custom: #407bbd;
$custom-light: #82a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#407bbd",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 211.68,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57412,
    "c": 0.11961,
    "h": 252.9
  },
  "luminance": 0.1893
}

Semantic roles & 50–950 ramp

primary
#407BBD
secondary
#C9AE90
accent
#984FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #407BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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