#407BA5#407BA5

#407BA5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.090 H 241.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#407BA5
RGBrgb(64, 123, 165)
HSLhsl(205, 44%, 45%)
HSVhsv(205, 61%, 65%)
CMYKcmyk(61.2%, 25.5%, 0%, 35.3%)
CIE-LABlab(49.46, -6.16, -28.21)
CIE-LCHlch(49.46, 28.88, 257.68°)
OKLaboklab(56.14% -0.0425 -0.0792)
OKLCHoklch(56.14% 0.09 241.8)
XYZxyz(15.9863, 17.9710, 38.2163)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BA5 #A56A40
analogous
#40A59C #407BA5 #4049A5
triadic
#407BA5 #A5407B #7BA540
tetradic
#407BA5 #9C40A5 #A56A40 #49A540
square
#407BA5 #9C40A5 #A56A40 #49A540
split-complementary
#407BA5 #A54049 #A59C40
monochromatic
#1E394D #2F5A79 #407BA5 #6199C2 #8DB6D3

Accessibility & contrast

On white

4.57
#407BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##407BA5#FFFFFF#000000##000000
##407BA51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407ba5;
/* rgb */ color: rgb(64, 123, 165);
/* oklch */ color: oklch(56.1% 0.090 241.8);
Tailwind
colors: {
  custom: {
    50: '#7ea1c0',
    500: '#407ba5',
    950: '#000000',
  },
}
SCSS
$custom: #407ba5;
$custom-light: #7ea1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#407ba5",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 165
  },
  "hsl": {
    "h": 204.95,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.08989,
    "h": 241.8
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#407BA5
secondary
#BE9B83
accent
#8954D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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