#407FAC#407FAC

#407FAC is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.095 H 242.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#407FAC
RGBrgb(64, 127, 172)
HSLhsl(205, 46%, 46%)
HSVhsv(205, 63%, 67%)
CMYKcmyk(62.8%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.97, -6.15, -29.92)
CIE-LCHlch(50.97, 30.55, 258.38°)
OKLaboklab(57.44% -0.0446 -0.0841)
OKLCHoklch(57.44% 0.095 242.1)
XYZxyz(17.1473, 19.2456, 41.8328)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FAC #AC6D40
analogous
#40ACA3 #407FAC #4049AC
triadic
#407FAC #AC407F #7FAC40
tetradic
#407FAC #A340AC #AC6D40 #49AC40
square
#407FAC #A340AC #AC6D40 #49AC40
split-complementary
#407FAC #AC4049 #ACA340
monochromatic
#1F3D53 #2F5E7F #407FAC #649DC5 #91B9D6

Accessibility & contrast

On white

4.33
#407FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#407FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FAC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FAC#FFFFFF#000000##000000
##407FAC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAE
Deuteranopia (green-blind)
#5C75AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407fac;
/* rgb */ color: rgb(64, 127, 172);
/* oklch */ color: oklch(57.4% 0.095 242.1);
Tailwind
colors: {
  custom: {
    50: '#7fa4c5',
    500: '#407fac',
    950: '#000000',
  },
}
SCSS
$custom: #407fac;
$custom-light: #7fa4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#407fac",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 205,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.0952,
    "h": 242.1
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#407FAC
secondary
#C19F87
accent
#8952D5
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #407FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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