#407AA1#407AA1

#407AA1 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.086 H 240.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#407AA1
RGBrgb(64, 122, 161)
HSLhsl(204, 43%, 44%)
HSVhsv(204, 60%, 63%)
CMYKcmyk(60.2%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.98, -6.90, -26.62)
CIE-LCHlch(48.98, 27.50, 255.46°)
OKLaboklab(55.7% -0.0428 -0.0746)
OKLCHoklch(55.7% 0.086 240.2)
XYZxyz(15.5045, 17.5808, 36.2877)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AA1 #A16740
analogous
#40A198 #407AA1 #404AA1
triadic
#407AA1 #A1407A #7AA140
tetradic
#407AA1 #9840A1 #A16740 #4AA140
square
#407AA1 #9840A1 #A16740 #4AA140
split-complementary
#407AA1 #A1404A #A19840
monochromatic
#1D3849 #2F5975 #407AA1 #5F99BF #8BB5D1

Accessibility & contrast

On white

4.65
#407AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#407AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407AA1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AA1#FFFFFF#000000##FFFFFF
##407AA11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407aa1;
/* rgb */ color: rgb(64, 122, 161);
/* oklch */ color: oklch(55.7% 0.086 240.2);
Tailwind
colors: {
  custom: {
    50: '#7da0bd',
    500: '#407aa1',
    950: '#000000',
  },
}
SCSS
$custom: #407aa1;
$custom-light: #7da0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407aa1",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 204.124,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.08602,
    "h": 240.2
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#407AA1
secondary
#BC9981
accent
#8855D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #407AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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