#407CBE#407CBE

#407CBE is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.7% C 0.120 H 252.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#407CBE
RGBrgb(64, 124, 190)
HSLhsl(211, 50%, 50%)
HSVhsv(211, 66%, 75%)
CMYKcmyk(66.3%, 34.7%, 0%, 25.5%)
CIE-LABlab(50.94, 1.80, -40.34)
CIE-LCHlch(50.94, 40.38, 272.55°)
OKLaboklab(57.7% -0.036 -0.1144)
OKLCHoklch(57.7% 0.12 252.5)
XYZxyz(18.6129, 19.2211, 51.4344)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CBE #BE8240
analogous
#40BBBE #407CBE #4340BE
triadic
#407CBE #BE407C #7CBE40
tetradic
#407CBE #BE40BB #BE8240 #40BE43
square
#407CBE #BE40BB #BE8240 #40BE43
split-complementary
#407CBE #BE4340 #BBBE40
monochromatic
#214062 #315E90 #407CBE #6D9BCE #9BBBDD

Accessibility & contrast

On white

4.33
#407CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#407CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CBE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CBE#FFFFFF#000000##000000
##407CBE1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C1
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407cbe;
/* rgb */ color: rgb(64, 124, 190);
/* oklch */ color: oklch(57.7% 0.120 252.5);
Tailwind
colors: {
  custom: {
    50: '#82a1d2',
    500: '#407cbe',
    950: '#000000',
  },
}
SCSS
$custom: #407cbe;
$custom-light: #82a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407cbe",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 211.429,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.11992,
    "h": 252.5
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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