#407CB4#407CB4

#407CB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.1% C 0.107 H 248.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#407CB4
RGBrgb(64, 124, 180)
HSLhsl(209, 48%, 48%)
HSVhsv(209, 64%, 71%)
CMYKcmyk(64.4%, 31.1%, 0%, 29.4%)
CIE-LABlab(50.45, -1.67, -35.36)
CIE-LCHlch(50.45, 35.40, 267.30°)
OKLaboklab(57.15% -0.0388 -0.0999)
OKLCHoklch(57.15% 0.107 248.8)
XYZxyz(17.5572, 18.7988, 45.8744)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB4 #B47840
analogous
#40B4B2 #407CB4 #4042B4
triadic
#407CB4 #B4407C #7CB440
tetradic
#407CB4 #B240B4 #B47840 #42B440
square
#407CB4 #B240B4 #B47840 #42B440
split-complementary
#407CB4 #B44042 #B4B240
monochromatic
#203E5A #305D87 #407CB4 #689AC9 #95B8D9

Accessibility & contrast

On white

4.41
#407CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#407CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CB4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CB4#FFFFFF#000000##000000
##407CB41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407cb4;
/* rgb */ color: rgb(64, 124, 180);
/* oklch */ color: oklch(57.1% 0.107 248.8);
Tailwind
colors: {
  custom: {
    50: '#80a1ca',
    500: '#407cb4',
    950: '#000000',
  },
}
SCSS
$custom: #407cb4;
$custom-light: #80a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb4",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 180
  },
  "hsl": {
    "h": 208.966,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.10718,
    "h": 248.8
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#407CB4
secondary
#C5A78B
accent
#9251D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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