#407CBB#407CBB

#407CBB is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.5% C 0.116 H 251.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#407CBB
RGBrgb(64, 124, 187)
HSLhsl(211, 49%, 49%)
HSVhsv(211, 66%, 73%)
CMYKcmyk(65.8%, 33.7%, 0%, 26.7%)
CIE-LABlab(50.79, 0.75, -38.86)
CIE-LCHlch(50.79, 38.86, 271.11°)
OKLaboklab(57.53% -0.0368 -0.1101)
OKLCHoklch(57.53% 0.116 251.5)
XYZxyz(18.2883, 19.0913, 49.7253)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CBB #BB7F40
analogous
#40BABB #407CBB #4240BB
triadic
#407CBB #BB407C #7CBB40
tetradic
#407CBB #BB40BA #BB7F40 #40BB42
square
#407CBB #BB40BA #BB7F40 #40BB42
split-complementary
#407CBB #BB4240 #BABB40
monochromatic
#214060 #305E8D #407CBB #6C9BCD #99BADC

Accessibility & contrast

On white

4.36
#407CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#407CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CBB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CBB#FFFFFF#000000##000000
##407CBB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407cbb;
/* rgb */ color: rgb(64, 124, 187);
/* oklch */ color: oklch(57.5% 0.116 251.5);
Tailwind
colors: {
  custom: {
    50: '#81a1d0',
    500: '#407cbb',
    950: '#000000',
  },
}
SCSS
$custom: #407cbb;
$custom-light: #81a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#407cbb",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 210.732,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57528,
    "c": 0.11606,
    "h": 251.5
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#407CBB
secondary
#C8AC8F
accent
#964FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #407CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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