#407BA3#407BA3

#407BA3 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.088 H 240.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#407BA3
RGBrgb(64, 123, 163)
HSLhsl(204, 44%, 45%)
HSVhsv(204, 61%, 64%)
CMYKcmyk(60.7%, 24.5%, 0%, 36.1%)
CIE-LABlab(49.37, -6.83, -27.19)
CIE-LCHlch(49.37, 28.03, 255.91°)
OKLaboklab(56.04% -0.0432 -0.0762)
OKLCHoklch(56.04% 0.088 240.4)
XYZxyz(15.8057, 17.8988, 37.2651)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BA3 #A36840
analogous
#40A399 #407BA3 #404AA3
triadic
#407BA3 #A3407B #7BA340
tetradic
#407BA3 #9940A3 #A36840 #4AA340
square
#407BA3 #9940A3 #A36840 #4AA340
split-complementary
#407BA3 #A3404A #A39940
monochromatic
#1D394B #2F5A77 #407BA3 #6099C0 #8CB5D2

Accessibility & contrast

On white

4.59
#407BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#407BA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407BA3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BA3#FFFFFF#000000##FFFFFF
##407BA31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407ba3;
/* rgb */ color: rgb(64, 123, 163);
/* oklch */ color: oklch(56.0% 0.088 240.4);
Tailwind
colors: {
  custom: {
    50: '#7ea1be',
    500: '#407ba3',
    950: '#000000',
  },
}
SCSS
$custom: #407ba3;
$custom-light: #7ea1be;
$custom-dark: #000000;
JSON
{
  "hex": "#407ba3",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 163
  },
  "hsl": {
    "h": 204.242,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.08763,
    "h": 240.4
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#407BA3
secondary
#BD9A82
accent
#8854D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #407BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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