#407CA5#407CA5

#407CA5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.089 H 240.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#407CA5
RGBrgb(64, 124, 165)
HSLhsl(204, 44%, 45%)
HSVhsv(204, 61%, 65%)
CMYKcmyk(61.2%, 24.8%, 0%, 35.3%)
CIE-LABlab(49.76, -6.74, -27.75)
CIE-LCHlch(49.76, 28.55, 256.34°)
OKLaboklab(56.38% -0.0437 -0.0778)
OKLCHoklch(56.38% 0.089 240.7)
XYZxyz(16.1110, 18.2204, 38.2579)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CA5 #A56940
analogous
#40A59B #407CA5 #404AA5
triadic
#407CA5 #A5407C #7CA540
tetradic
#407CA5 #9B40A5 #A56940 #4AA540
square
#407CA5 #9B40A5 #A56940 #4AA540
split-complementary
#407CA5 #A5404A #A59B40
monochromatic
#1E3A4D #2F5B79 #407CA5 #619AC2 #8DB6D3

Accessibility & contrast

On white

4.52
#407CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#407CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CA5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CA5#FFFFFF#000000##000000
##407CA51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA7
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407ca5;
/* rgb */ color: rgb(64, 124, 165);
/* oklch */ color: oklch(56.4% 0.089 240.7);
Tailwind
colors: {
  custom: {
    50: '#7ea1c0',
    500: '#407ca5',
    950: '#000000',
  },
}
SCSS
$custom: #407ca5;
$custom-light: #7ea1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#407ca5",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 204.356,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.08925,
    "h": 240.7
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#407CA5
secondary
#BE9B83
accent
#8854D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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