#407BAD#407BAD

#407BAD is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.099 H 246.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#407BAD
RGBrgb(64, 123, 173)
HSLhsl(208, 46%, 46%)
HSVhsv(208, 63%, 68%)
CMYKcmyk(63%, 28.9%, 0%, 32.2%)
CIE-LABlab(49.82, -3.47, -32.30)
CIE-LCHlch(49.82, 32.48, 263.87°)
OKLaboklab(56.54% -0.0399 -0.091)
OKLCHoklch(56.54% 0.099 246.3)
XYZxyz(16.7373, 18.2714, 42.1717)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BAD #AD7240
analogous
#40ADA9 #407BAD #4045AD
triadic
#407BAD #AD407B #7BAD40
tetradic
#407BAD #A940AD #AD7240 #45AD40
square
#407BAD #A940AD #AD7240 #45AD40
split-complementary
#407BAD #AD4045 #ADA940
monochromatic
#1F3B54 #2F5B80 #407BAD #6499C6 #91B7D6

Accessibility & contrast

On white

4.51
#407BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#407BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BAD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BAD#FFFFFF#000000##000000
##407BAD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAF
Deuteranopia (green-blind)
#5672AC
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407bad;
/* rgb */ color: rgb(64, 123, 173);
/* oklch */ color: oklch(56.5% 0.099 246.3);
Tailwind
colors: {
  custom: {
    50: '#7fa1c5',
    500: '#407bad',
    950: '#000000',
  },
}
SCSS
$custom: #407bad;
$custom-light: #7fa1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#407bad",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 207.523,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.09937,
    "h": 246.3
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#407BAD
secondary
#C2A287
accent
#8E52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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