#407BAB#407BAB

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

Color values

HEX#407BAB
RGBrgb(64, 123, 171)
HSLhsl(207, 46%, 46%)
HSVhsv(207, 63%, 67%)
CMYKcmyk(62.6%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.73, -4.15, -31.28)
CIE-LCHlch(49.73, 31.56, 262.45°)
OKLaboklab(56.44% -0.0405 -0.0881)
OKLCHoklch(56.44% 0.097 245.3)
XYZxyz(16.5453, 18.1946, 41.1602)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BAB #AB7040
analogous
#40ABA5 #407BAB #4045AB
triadic
#407BAB #AB407B #7BAB40
tetradic
#407BAB #A540AB #AB7040 #45AB40
square
#407BAB #A540AB #AB7040 #45AB40
split-complementary
#407BAB #AB4045 #ABA540
monochromatic
#1F3B52 #2F5B7E #407BAB #6399C5 #90B6D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407BAB#FFFFFF#000000##000000
##407BAB1.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)
#667CAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407bab;
/* rgb */ color: rgb(64, 123, 171);
/* oklch */ color: oklch(56.4% 0.097 245.3);
Tailwind
colors: {
  custom: {
    50: '#7fa1c4',
    500: '#407bab',
    950: '#000000',
  },
}
SCSS
$custom: #407bab;
$custom-light: #7fa1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#407bab",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 206.916,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.09695,
    "h": 245.3
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#407BAB
secondary
#C1A086
accent
#8D53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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