#407CBD#407CBD

#407CBD is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.6% C 0.119 H 252.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#407CBD
RGBrgb(64, 124, 189)
HSLhsl(211, 49%, 50%)
HSVhsv(211, 66%, 74%)
CMYKcmyk(66.1%, 34.4%, 0%, 25.9%)
CIE-LABlab(50.89, 1.45, -39.85)
CIE-LCHlch(50.89, 39.87, 272.08°)
OKLaboklab(57.64% -0.0363 -0.1129)
OKLCHoklch(57.64% 0.119 252.2)
XYZxyz(18.5039, 19.1776, 50.8607)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CBD #BD8140
analogous
#40BBBD #407CBD #4340BD
triadic
#407CBD #BD407C #7CBD40
tetradic
#407CBD #BD40BB #BD8140 #40BD43
square
#407CBD #BD40BB #BD8140 #40BD43
split-complementary
#407CBD #BD4340 #BBBD40
monochromatic
#214062 #315E8F #407CBD #6D9BCD #9ABADD

Accessibility & contrast

On white

4.34
#407CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#407CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CBD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CBD#FFFFFF#000000##000000
##407CBD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407cbd;
/* rgb */ color: rgb(64, 124, 189);
/* oklch */ color: oklch(57.6% 0.119 252.2);
Tailwind
colors: {
  custom: {
    50: '#82a1d1',
    500: '#407cbd',
    950: '#000000',
  },
}
SCSS
$custom: #407cbd;
$custom-light: #82a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#407cbd",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 189
  },
  "hsl": {
    "h": 211.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.11863,
    "h": 252.2
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#407CBD
secondary
#C9AE90
accent
#974FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #407CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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