#407CB7#407CB7

#407CB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.111 H 250.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407CB7
RGBrgb(64, 124, 183)
HSLhsl(210, 48%, 48%)
HSVhsv(210, 65%, 72%)
CMYKcmyk(65%, 32.2%, 0%, 28.2%)
CIE-LABlab(50.60, -0.63, -36.86)
CIE-LCHlch(50.60, 36.87, 269.01°)
OKLaboklab(57.31% -0.0379 -0.1043)
OKLCHoklch(57.31% 0.111 250)
XYZxyz(17.8661, 18.9224, 47.5014)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB7 #B77B40
analogous
#40B7B6 #407CB7 #4040B7
triadic
#407CB7 #B7407C #7CB740
tetradic
#407CB7 #B640B7 #B77B40 #40B740
square
#407CB7 #B640B7 #B77B40 #40B740
split-complementary
#407CB7 #B74040 #B7B640
monochromatic
#203F5C #305D8A #407CB7 #699BCB #97B9DB

Accessibility & contrast

On white

4.39
#407CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#407CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CB7#FFFFFF#000000##000000
##407CB71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBA
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407cb7;
/* rgb */ color: rgb(64, 124, 183);
/* oklch */ color: oklch(57.3% 0.111 250.0);
Tailwind
colors: {
  custom: {
    50: '#81a1cd',
    500: '#407cb7',
    950: '#000000',
  },
}
SCSS
$custom: #407cb7;
$custom-light: #81a1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb7",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 209.748,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.11095,
    "h": 250
  },
  "luminance": 0.18924
}

Semantic roles & 50–950 ramp

primary
#407CB7
secondary
#C6A98D
accent
#9350D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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