#407EBD#407EBD

#407EBD is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.117 H 250.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#407EBD
RGBrgb(64, 126, 189)
HSLhsl(210, 49%, 50%)
HSVhsv(210, 66%, 74%)
CMYKcmyk(66.1%, 33.3%, 0%, 25.9%)
CIE-LABlab(51.48, 0.25, -38.93)
CIE-LCHlch(51.48, 38.93, 270.37°)
OKLaboklab(58.1% -0.0383 -0.1102)
OKLCHoklch(58.1% 0.117 250.8)
XYZxyz(18.7571, 19.6839, 50.9451)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EBD #BD7F40
analogous
#40BDBD #407EBD #4140BD
triadic
#407EBD #BD407E #7EBD40
tetradic
#407EBD #BD40BD #BD7F40 #40BD41
square
#407EBD #BD40BD #BD7F40 #40BD41
split-complementary
#407EBD #BD4140 #BDBD40
monochromatic
#214162 #31608F #407EBD #6D9DCD #9ABBDD

Accessibility & contrast

On white

4.25
#407EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#407EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EBD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EBD#FFFFFF#000000##000000
##407EBD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C0
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ebd;
/* rgb */ color: rgb(64, 126, 189);
/* oklch */ color: oklch(58.1% 0.117 250.8);
Tailwind
colors: {
  custom: {
    50: '#82a3d1',
    500: '#407ebd',
    950: '#000000',
  },
}
SCSS
$custom: #407ebd;
$custom-light: #82a3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#407ebd",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 210.24,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.11671,
    "h": 250.8
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#407EBD
secondary
#C9AD90
accent
#944FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #407EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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