#407FA9#407FA9

#407FA9 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.092 H 240.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#407FA9
RGBrgb(64, 127, 169)
HSLhsl(204, 45%, 46%)
HSVhsv(204, 62%, 66%)
CMYKcmyk(62.1%, 24.9%, 0%, 33.7%)
CIE-LABlab(50.84, -7.16, -28.39)
CIE-LCHlch(50.84, 29.28, 255.85°)
OKLaboklab(57.29% -0.0456 -0.0797)
OKLCHoklch(57.29% 0.092 240.2)
XYZxyz(16.8625, 19.1317, 40.3326)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA9 #A96A40
analogous
#40A99E #407FA9 #404AA9
triadic
#407FA9 #A9407F #7FA940
tetradic
#407FA9 #9E40A9 #A96A40 #4AA940
square
#407FA9 #9E40A9 #A96A40 #4AA940
split-complementary
#407FA9 #A9404A #A99E40
monochromatic
#1E3C50 #2F5E7D #407FA9 #629DC4 #8FB9D5

Accessibility & contrast

On white

4.35
#407FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#407FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA9#FFFFFF#000000##000000
##407FA91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FAB
Deuteranopia (green-blind)
#5E74A8
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407fa9;
/* rgb */ color: rgb(64, 127, 169);
/* oklch */ color: oklch(57.3% 0.092 240.2);
Tailwind
colors: {
  custom: {
    50: '#7fa4c2',
    500: '#407fa9',
    950: '#000000',
  },
}
SCSS
$custom: #407fa9;
$custom-light: #7fa4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa9",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 204,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.09183,
    "h": 240.2
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#407FA9
secondary
#C09D85
accent
#8753D5
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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