#407EBE#407EBE

#407EBE is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.118 H 251.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407EBE
RGBrgb(64, 126, 190)
HSLhsl(210, 50%, 50%)
HSVhsv(210, 66%, 75%)
CMYKcmyk(66.3%, 33.7%, 0%, 25.5%)
CIE-LABlab(51.53, 0.60, -39.42)
CIE-LCHlch(51.53, 39.42, 270.87°)
OKLaboklab(58.15% -0.038 -0.1117)
OKLCHoklch(58.15% 0.118 251.2)
XYZxyz(18.8660, 19.7275, 51.5187)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EBE #BE8040
analogous
#40BDBE #407EBE #4140BE
triadic
#407EBE #BE407E #7EBE40
tetradic
#407EBE #BE40BD #BE8040 #40BE41
square
#407EBE #BE40BD #BE8040 #40BE41
split-complementary
#407EBE #BE4140 #BDBE40
monochromatic
#214162 #316090 #407EBE #6D9DCE #9BBCDD

Accessibility & contrast

On white

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

On black

4.95
#407EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EBE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EBE#FFFFFF#000000##000000
##407EBE1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C1
Deuteranopia (green-blind)
#5075BD
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ebe;
/* rgb */ color: rgb(64, 126, 190);
/* oklch */ color: oklch(58.2% 0.118 251.2);
Tailwind
colors: {
  custom: {
    50: '#82a3d2',
    500: '#407ebe',
    950: '#000000',
  },
}
SCSS
$custom: #407ebe;
$custom-light: #82a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407ebe",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 190
  },
  "hsl": {
    "h": 210.476,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.11798,
    "h": 251.2
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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