#407DAF#407DAF

#407DAF is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.100 H 245.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#407DAF
RGBrgb(64, 125, 175)
HSLhsl(207, 46%, 47%)
HSVhsv(207, 63%, 69%)
CMYKcmyk(63.4%, 28.6%, 0%, 31.4%)
CIE-LABlab(50.51, -3.97, -32.38)
CIE-LCHlch(50.51, 32.62, 263.01°)
OKLaboklab(57.12% -0.0414 -0.0912)
OKLCHoklch(57.12% 0.1 245.6)
XYZxyz(17.1830, 18.8507, 43.2821)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DAF #AF7240
analogous
#40AFAA #407DAF #4045AF
triadic
#407DAF #AF407D #7DAF40
tetradic
#407DAF #AA40AF #AF7240 #45AF40
square
#407DAF #AA40AF #AF7240 #45AF40
split-complementary
#407DAF #AF4045 #AFAA40
monochromatic
#1F3D55 #305D82 #407DAF #659BC7 #92B8D7

Accessibility & contrast

On white

4.40
#407DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#407DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DAF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DAF#FFFFFF#000000##000000
##407DAF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407daf;
/* rgb */ color: rgb(64, 125, 175);
/* oklch */ color: oklch(57.1% 0.100 245.6);
Tailwind
colors: {
  custom: {
    50: '#7fa2c7',
    500: '#407daf',
    950: '#000000',
  },
}
SCSS
$custom: #407daf;
$custom-light: #7fa2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#407daf",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 207.027,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.1002,
    "h": 245.6
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#407DAF
secondary
#C3A388
accent
#8D52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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