#407BAA#407BAA

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

Color values

HEX#407BAA
RGBrgb(64, 123, 170)
HSLhsl(207, 45%, 46%)
HSVhsv(207, 62%, 67%)
CMYKcmyk(62.4%, 27.6%, 0%, 33.3%)
CIE-LABlab(49.69, -4.48, -30.77)
CIE-LCHlch(49.69, 31.10, 261.71°)
OKLaboklab(56.39% -0.0409 -0.0866)
OKLCHoklch(56.39% 0.096 244.7)
XYZxyz(16.4503, 18.1566, 40.6601)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BAA #AA6F40
analogous
#40AAA4 #407BAA #4046AA
triadic
#407BAA #AA407B #7BAA40
tetradic
#407BAA #A440AA #AA6F40 #46AA40
square
#407BAA #A440AA #AA6F40 #46AA40
split-complementary
#407BAA #AA4046 #AAA440
monochromatic
#1F3B51 #2F5B7E #407BAA #6399C4 #8FB6D5

Accessibility & contrast

On white

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

On black

4.63
#407BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BAA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BAA#FFFFFF#000000##000000
##407BAA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407baa;
/* rgb */ color: rgb(64, 123, 170);
/* oklch */ color: oklch(56.4% 0.096 244.7);
Tailwind
colors: {
  custom: {
    50: '#7fa1c3',
    500: '#407baa',
    950: '#000000',
  },
}
SCSS
$custom: #407baa;
$custom-light: #7fa1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#407baa",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 170
  },
  "hsl": {
    "h": 206.604,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.09574,
    "h": 244.7
  },
  "luminance": 0.18158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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