#407EB2#407EB2

#407EB2 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.103 H 246.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#407EB2
RGBrgb(64, 126, 178)
HSLhsl(207, 47%, 47%)
HSVhsv(207, 64%, 70%)
CMYKcmyk(64%, 29.2%, 0%, 30.2%)
CIE-LABlab(50.95, -3.54, -33.43)
CIE-LCHlch(50.95, 33.62, 263.96°)
OKLaboklab(57.51% -0.0416 -0.0943)
OKLCHoklch(57.51% 0.103 246.2)
XYZxyz(17.6081, 19.2243, 44.8936)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EB2 #B27440
analogous
#40B2AD #407EB2 #4045B2
triadic
#407EB2 #B2407E #7EB240
tetradic
#407EB2 #AD40B2 #B27440 #45B240
square
#407EB2 #AD40B2 #B27440 #45B240
split-complementary
#407EB2 #B24045 #B2AD40
monochromatic
#203E58 #305E85 #407EB2 #679CC8 #94B9D8

Accessibility & contrast

On white

4.33
#407EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#407EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EB2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EB2#FFFFFF#000000##000000
##407EB21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5874B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407eb2;
/* rgb */ color: rgb(64, 126, 178);
/* oklch */ color: oklch(57.5% 0.103 246.2);
Tailwind
colors: {
  custom: {
    50: '#80a3c9',
    500: '#407eb2',
    950: '#000000',
  },
}
SCSS
$custom: #407eb2;
$custom-light: #80a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#407eb2",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 207.368,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.10303,
    "h": 246.2
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#407EB2
secondary
#C4A48A
accent
#8E51D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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