#407CB5#407CB5

#407CB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.2% C 0.108 H 249.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#407CB5
RGBrgb(64, 124, 181)
HSLhsl(209, 48%, 48%)
HSVhsv(209, 65%, 71%)
CMYKcmyk(64.6%, 31.5%, 0%, 29%)
CIE-LABlab(50.50, -1.32, -35.86)
CIE-LCHlch(50.50, 35.89, 267.88°)
OKLaboklab(57.2% -0.0385 -0.1013)
OKLCHoklch(57.2% 0.108 249.2)
XYZxyz(17.6594, 18.8397, 46.4129)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB5 #B57940
analogous
#40B5B3 #407CB5 #4041B5
triadic
#407CB5 #B5407C #7CB540
tetradic
#407CB5 #B340B5 #B57940 #41B540
square
#407CB5 #B340B5 #B57940 #41B540
split-complementary
#407CB5 #B54041 #B5B340
monochromatic
#203E5B #305D88 #407CB5 #689ACA #96B9DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407CB5#FFFFFF#000000##000000
##407CB51.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)
#637EB7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407cb5;
/* rgb */ color: rgb(64, 124, 181);
/* oklch */ color: oklch(57.2% 0.108 249.2);
Tailwind
colors: {
  custom: {
    50: '#80a1cb',
    500: '#407cb5',
    950: '#000000',
  },
}
SCSS
$custom: #407cb5;
$custom-light: #80a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb5",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 209.231,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.572,
    "c": 0.10843,
    "h": 249.2
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#407CB5
secondary
#C5A88B
accent
#9250D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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