#407EBC#407EBC

#407EBC is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.115 H 250.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#407EBC
RGBrgb(64, 126, 188)
HSLhsl(210, 49%, 49%)
HSVhsv(210, 66%, 74%)
CMYKcmyk(66%, 33%, 0%, 26.3%)
CIE-LABlab(51.43, -0.10, -38.43)
CIE-LCHlch(51.43, 38.43, 269.85°)
OKLaboklab(58.04% -0.0386 -0.1088)
OKLCHoklch(58.04% 0.115 250.5)
XYZxyz(18.6490, 19.6407, 50.3754)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EBC #BC7E40
analogous
#40BCBC #407EBC #4040BC
triadic
#407EBC #BC407E #7EBC40
tetradic
#407EBC #BC40BC #BC7E40 #40BC40
square
#407EBC #BC40BC #BC7E40 #40BC40
split-complementary
#407EBC #BC4040 #BCBC40
monochromatic
#214161 #305F8E #407EBC #6C9DCD #9ABBDD

Accessibility & contrast

On white

4.26
#407EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#407EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EBC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EBC#FFFFFF#000000##000000
##407EBC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BF
Deuteranopia (green-blind)
#5275BB
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ebc;
/* rgb */ color: rgb(64, 126, 188);
/* oklch */ color: oklch(58.0% 0.115 250.5);
Tailwind
colors: {
  custom: {
    50: '#81a3d0',
    500: '#407ebc',
    950: '#000000',
  },
}
SCSS
$custom: #407ebc;
$custom-light: #81a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#407ebc",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 210,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.11545,
    "h": 250.5
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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