#407AAB#407AAB

#407AAB is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.098 H 246.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#407AAB
RGBrgb(64, 122, 171)
HSLhsl(207, 46%, 46%)
HSVhsv(207, 63%, 67%)
CMYKcmyk(62.6%, 28.7%, 0%, 32.9%)
CIE-LABlab(49.43, -3.55, -31.75)
CIE-LCHlch(49.43, 31.95, 263.61°)
OKLaboklab(56.21% -0.0394 -0.0894)
OKLCHoklch(56.21% 0.098 246.2)
XYZxyz(16.4219, 17.9478, 41.1190)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AAB #AB7140
analogous
#40ABA6 #407AAB #4044AB
triadic
#407AAB #AB407A #7AAB40
tetradic
#407AAB #A640AB #AB7140 #44AB40
square
#407AAB #A640AB #AB7140 #44AB40
split-complementary
#407AAB #AB4044 #ABA640
monochromatic
#1F3A52 #2F5A7E #407AAB #6398C5 #90B6D5

Accessibility & contrast

On white

4.58
#407AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#407AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AAB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AAB#FFFFFF#000000##000000
##407AAB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407aab;
/* rgb */ color: rgb(64, 122, 171);
/* oklch */ color: oklch(56.2% 0.098 246.2);
Tailwind
colors: {
  custom: {
    50: '#7fa0c4',
    500: '#407aab',
    950: '#000000',
  },
}
SCSS
$custom: #407aab;
$custom-light: #7fa0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#407aab",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 171
  },
  "hsl": {
    "h": 207.477,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.09774,
    "h": 246.2
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#407AAB
secondary
#C1A186
accent
#8E53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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