#407CA7#407CA7

#407CA7 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.092 H 242.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#407CA7
RGBrgb(64, 124, 167)
HSLhsl(205, 45%, 45%)
HSVhsv(205, 62%, 65%)
CMYKcmyk(61.7%, 25.7%, 0%, 34.5%)
CIE-LABlab(49.85, -6.08, -28.77)
CIE-LCHlch(49.85, 29.41, 258.07°)
OKLaboklab(56.47% -0.043 -0.0808)
OKLCHoklch(56.47% 0.092 242)
XYZxyz(16.2944, 18.2938, 39.2241)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CA7 #A76B40
analogous
#40A79F #407CA7 #4048A7
triadic
#407CA7 #A7407C #7CA740
tetradic
#407CA7 #9F40A7 #A76B40 #48A740
square
#407CA7 #9F40A7 #A76B40 #48A740
split-complementary
#407CA7 #A74048 #A79F40
monochromatic
#1E3A4F #2F5B7B #407CA7 #629AC3 #8EB6D4

Accessibility & contrast

On white

4.51
#407CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#407CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CA7#FFFFFF#000000##000000
##407CA71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697CA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407ca7;
/* rgb */ color: rgb(64, 124, 167);
/* oklch */ color: oklch(56.5% 0.092 242.0);
Tailwind
colors: {
  custom: {
    50: '#7ea1c1',
    500: '#407ca7',
    950: '#000000',
  },
}
SCSS
$custom: #407ca7;
$custom-light: #7ea1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#407ca7",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 205.049,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.09152,
    "h": 242
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#407CA7
secondary
#BF9D84
accent
#8954D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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