#407CA4#407CA4

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

Color values

HEX#407CA4
RGBrgb(64, 124, 164)
HSLhsl(204, 44%, 45%)
HSVhsv(204, 61%, 64%)
CMYKcmyk(61%, 24.4%, 0%, 35.7%)
CIE-LABlab(49.72, -7.08, -27.23)
CIE-LCHlch(49.72, 28.14, 255.43°)
OKLaboklab(56.33% -0.044 -0.0764)
OKLCHoklch(56.33% 0.088 240)
XYZxyz(16.0203, 18.1841, 37.7804)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CA4 #A46840
analogous
#40A49A #407CA4 #404AA4
triadic
#407CA4 #A4407C #7CA440
tetradic
#407CA4 #9A40A4 #A46840 #4AA440
square
#407CA4 #9A40A4 #A46840 #4AA440
split-complementary
#407CA4 #A4404A #A49A40
monochromatic
#1E394C #2F5B78 #407CA4 #609AC1 #8CB6D2

Accessibility & contrast

On white

4.53
#407CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##407CA4#FFFFFF#000000##000000
##407CA41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407ca4;
/* rgb */ color: rgb(64, 124, 164);
/* oklch */ color: oklch(56.3% 0.088 240.0);
Tailwind
colors: {
  custom: {
    50: '#7ea1bf',
    500: '#407ca4',
    950: '#000000',
  },
}
SCSS
$custom: #407ca4;
$custom-light: #7ea1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#407ca4",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 204,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.08813,
    "h": 240
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#407CA4
secondary
#BD9A83
accent
#8754D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0F12
muted
#7C7E81

Preview Lab

Preview with #407CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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