#407EB7#407EB7

#407EB7 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.109 H 248.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#407EB7
RGBrgb(64, 126, 183)
HSLhsl(209, 48%, 48%)
HSVhsv(209, 65%, 72%)
CMYKcmyk(65%, 31.1%, 0%, 28.2%)
CIE-LABlab(51.19, -1.83, -35.94)
CIE-LCHlch(51.19, 35.99, 267.09°)
OKLaboklab(57.77% -0.0401 -0.1015)
OKLCHoklch(57.77% 0.109 248.5)
XYZxyz(18.1193, 19.4288, 47.5858)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EB7 #B77940
analogous
#40B7B4 #407EB7 #4043B7
triadic
#407EB7 #B7407E #7EB740
tetradic
#407EB7 #B440B7 #B77940 #43B740
square
#407EB7 #B440B7 #B77940 #43B740
split-complementary
#407EB7 #B74043 #B7B440
monochromatic
#20405C #305F8A #407EB7 #699CCB #97BADB

Accessibility & contrast

On white

4.30
#407EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#407EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EB7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EB7#FFFFFF#000000##000000
##407EB71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407eb7;
/* rgb */ color: rgb(64, 126, 183);
/* oklch */ color: oklch(57.8% 0.109 248.5);
Tailwind
colors: {
  custom: {
    50: '#81a3cd',
    500: '#407eb7',
    950: '#000000',
  },
}
SCSS
$custom: #407eb7;
$custom-light: #81a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407eb7",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 208.739,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.10917,
    "h": 248.5
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#407EB7
secondary
#C6A88D
accent
#9150D8
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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