#407BA4#407BA4

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

Color values

HEX#407BA4
RGBrgb(64, 123, 164)
HSLhsl(205, 44%, 45%)
HSVhsv(205, 61%, 64%)
CMYKcmyk(61%, 25%, 0%, 35.7%)
CIE-LABlab(49.42, -6.49, -27.70)
CIE-LCHlch(49.42, 28.45, 256.81°)
OKLaboklab(56.09% -0.0429 -0.0777)
OKLCHoklch(56.09% 0.089 241.1)
XYZxyz(15.8956, 17.9347, 37.7388)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BA4 #A46940
analogous
#40A49B #407BA4 #4049A4
triadic
#407BA4 #A4407B #7BA440
tetradic
#407BA4 #9B40A4 #A46940 #49A440
square
#407BA4 #9B40A4 #A46940 #49A440
split-complementary
#407BA4 #A44049 #A49B40
monochromatic
#1E394C #2F5A78 #407BA4 #6099C1 #8CB6D2

Accessibility & contrast

On white

4.58
#407BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##407BA4#FFFFFF#000000##000000
##407BA41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA6
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407ba4;
/* rgb */ color: rgb(64, 123, 164);
/* oklch */ color: oklch(56.1% 0.089 241.1);
Tailwind
colors: {
  custom: {
    50: '#7ea1bf',
    500: '#407ba4',
    950: '#000000',
  },
}
SCSS
$custom: #407ba4;
$custom-light: #7ea1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#407ba4",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 164
  },
  "hsl": {
    "h": 204.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.08876,
    "h": 241.1
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#407BA4
secondary
#BD9B83
accent
#8854D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #407BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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