#407EBA#407EBA

#407EBA is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.9% C 0.113 H 249.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#407EBA
RGBrgb(64, 126, 186)
HSLhsl(210, 49%, 49%)
HSVhsv(210, 66%, 73%)
CMYKcmyk(65.6%, 32.3%, 0%, 27.1%)
CIE-LABlab(51.33, -0.79, -37.44)
CIE-LCHlch(51.33, 37.44, 268.79°)
OKLaboklab(57.93% -0.0392 -0.1059)
OKLCHoklch(57.93% 0.113 249.7)
XYZxyz(18.4349, 19.5550, 49.2478)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EBA #BA7C40
analogous
#40BAB9 #407EBA #4041BA
triadic
#407EBA #BA407E #7EBA40
tetradic
#407EBA #B940BA #BA7C40 #41BA40
square
#407EBA #B940BA #BA7C40 #41BA40
split-complementary
#407EBA #BA4041 #BAB940
monochromatic
#21405F #305F8C #407EBA #6B9CCC #99BBDC

Accessibility & contrast

On white

4.28
#407EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#407EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EBA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EBA#FFFFFF#000000##000000
##407EBA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407eba;
/* rgb */ color: rgb(64, 126, 186);
/* oklch */ color: oklch(57.9% 0.113 249.7);
Tailwind
colors: {
  custom: {
    50: '#81a3cf',
    500: '#407eba',
    950: '#000000',
  },
}
SCSS
$custom: #407eba;
$custom-light: #81a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#407eba",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 209.508,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.11292,
    "h": 249.7
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#407EBA
secondary
#C8AA8E
accent
#934FD8
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #407EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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