#407FA5#407FA5

#407FA5 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.087 H 237.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#407FA5
RGBrgb(64, 127, 165)
HSLhsl(203, 44%, 45%)
HSVhsv(203, 61%, 65%)
CMYKcmyk(61.2%, 23%, 0%, 35.3%)
CIE-LABlab(50.67, -8.48, -26.34)
CIE-LCHlch(50.67, 27.67, 252.15°)
OKLaboklab(57.09% -0.047 -0.0738)
OKLCHoklch(57.09% 0.088 237.5)
XYZxyz(16.4927, 18.9838, 38.3851)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA5 #A56640
analogous
#40A598 #407FA5 #404DA5
triadic
#407FA5 #A5407F #7FA540
tetradic
#407FA5 #9840A5 #A56640 #4DA540
square
#407FA5 #9840A5 #A56640 #4DA540
split-complementary
#407FA5 #A5404D #A59840
monochromatic
#1E3B4D #2F5D79 #407FA5 #619DC2 #8DB8D3

Accessibility & contrast

On white

4.38
#407FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#407FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA5#FFFFFF#000000##000000
##407FA51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7EA7
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407fa5;
/* rgb */ color: rgb(64, 127, 165);
/* oklch */ color: oklch(57.1% 0.087 237.5);
Tailwind
colors: {
  custom: {
    50: '#7ea4bf',
    500: '#407fa5',
    950: '#000000',
  },
}
SCSS
$custom: #407fa5;
$custom-light: #7ea4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa5",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 202.574,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.0875,
    "h": 237.5
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#407FA5
secondary
#BE9983
accent
#8454D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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