#407BA2#407BA2

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

Color values

HEX#407BA2
RGBrgb(64, 123, 162)
HSLhsl(204, 43%, 44%)
HSVhsv(204, 60%, 64%)
CMYKcmyk(60.5%, 24.1%, 0%, 36.5%)
CIE-LABlab(49.33, -7.16, -26.67)
CIE-LCHlch(49.33, 27.61, 254.98°)
OKLaboklab(55.99% -0.0436 -0.0747)
OKLCHoklch(55.99% 0.087 239.8)
XYZxyz(15.7165, 17.8631, 36.7951)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BA2 #A26740
analogous
#40A298 #407BA2 #404AA2
triadic
#407BA2 #A2407B #7BA240
tetradic
#407BA2 #9840A2 #A26740 #4AA240
square
#407BA2 #9840A2 #A26740 #4AA240
split-complementary
#407BA2 #A2404A #A29840
monochromatic
#1D384A #2F5A76 #407BA2 #5F99C0 #8BB5D1

Accessibility & contrast

On white

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

On black

4.57
#407BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##407BA2#FFFFFF#000000##FFFFFF
##407BA21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407ba2;
/* rgb */ color: rgb(64, 123, 162);
/* oklch */ color: oklch(56.0% 0.087 239.8);
Tailwind
colors: {
  custom: {
    50: '#7ea1bd',
    500: '#407ba2',
    950: '#000000',
  },
}
SCSS
$custom: #407ba2;
$custom-light: #7ea1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407ba2",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 203.878,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.08652,
    "h": 239.8
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#407BA2
secondary
#BC9982
accent
#8755D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #407BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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