#407BA8#407BA8

#407BA8 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.093 H 243.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#407BA8
RGBrgb(64, 123, 168)
HSLhsl(206, 45%, 45%)
HSVhsv(206, 62%, 66%)
CMYKcmyk(61.9%, 26.8%, 0%, 34.1%)
CIE-LABlab(49.59, -5.16, -29.75)
CIE-LCHlch(49.59, 30.20, 260.17°)
OKLaboklab(56.29% -0.0415 -0.0836)
OKLCHoklch(56.29% 0.093 243.6)
XYZxyz(16.2626, 18.0815, 39.6712)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BA8 #A86D40
analogous
#40A8A1 #407BA8 #4047A8
triadic
#407BA8 #A8407B #7BA840
tetradic
#407BA8 #A140A8 #A86D40 #47A840
square
#407BA8 #A140A8 #A86D40 #47A840
split-complementary
#407BA8 #A84047 #A8A140
monochromatic
#1E3A4F #2F5B7C #407BA8 #6299C3 #8EB6D4

Accessibility & contrast

On white

4.55
#407BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#407BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BA8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BA8#FFFFFF#000000##000000
##407BA81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407ba8;
/* rgb */ color: rgb(64, 123, 168);
/* oklch */ color: oklch(56.3% 0.093 243.6);
Tailwind
colors: {
  custom: {
    50: '#7ea1c2',
    500: '#407ba8',
    950: '#000000',
  },
}
SCSS
$custom: #407ba8;
$custom-light: #7ea1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#407ba8",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 168
  },
  "hsl": {
    "h": 205.962,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.09337,
    "h": 243.6
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#407BA8
secondary
#BF9E85
accent
#8B53D5
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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