#407BB7#407BB7

#407BB7 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 57.1% C 0.112 H 250.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#407BB7
RGBrgb(64, 123, 183)
HSLhsl(210, 48%, 48%)
HSVhsv(210, 65%, 72%)
CMYKcmyk(65%, 32.8%, 0%, 28.2%)
CIE-LABlab(50.30, -0.04, -37.33)
CIE-LCHlch(50.30, 37.33, 269.94°)
OKLaboklab(57.08% -0.0369 -0.1056)
OKLCHoklch(57.08% 0.112 250.7)
XYZxyz(17.7414, 18.6730, 47.4598)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BB7 #B77C40
analogous
#40B6B7 #407BB7 #4040B7
triadic
#407BB7 #B7407B #7BB740
tetradic
#407BB7 #B740B6 #B77C40 #40B740
square
#407BB7 #B740B6 #B77C40 #40B740
split-complementary
#407BB7 #B74040 #B6B740
monochromatic
#203E5C #305D8A #407BB7 #699ACB #97B8DB

Accessibility & contrast

On white

4.44
#407BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#407BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BB7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BB7#FFFFFF#000000##000000
##407BB71.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407bb7;
/* rgb */ color: rgb(64, 123, 183);
/* oklch */ color: oklch(57.1% 0.112 250.7);
Tailwind
colors: {
  custom: {
    50: '#81a0cd',
    500: '#407bb7',
    950: '#000000',
  },
}
SCSS
$custom: #407bb7;
$custom-light: #81a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407bb7",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 210.252,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.11188,
    "h": 250.7
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#407BB7
secondary
#C6AA8D
accent
#9450D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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