#407FB1#407FB1

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

Color values

HEX#407FB1
RGBrgb(64, 127, 177)
HSLhsl(207, 47%, 47%)
HSVhsv(207, 64%, 69%)
CMYKcmyk(63.8%, 28.2%, 0%, 30.6%)
CIE-LABlab(51.20, -4.47, -32.46)
CIE-LCHlch(51.20, 32.77, 262.16°)
OKLaboklab(57.69% -0.043 -0.0914)
OKLCHoklch(57.69% 0.101 244.8)
XYZxyz(17.6366, 19.4413, 44.4095)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FB1 #B17240
analogous
#40B1AB #407FB1 #4046B1
triadic
#407FB1 #B1407F #7FB140
tetradic
#407FB1 #AB40B1 #B17240 #46B140
square
#407FB1 #AB40B1 #B17240 #46B140
split-complementary
#407FB1 #B14046 #B1AB40
monochromatic
#1F3E57 #305F84 #407FB1 #669DC8 #93BAD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407FB1#FFFFFF#000000##000000
##407FB11.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)
#6980B3
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407fb1;
/* rgb */ color: rgb(64, 127, 177);
/* oklch */ color: oklch(57.7% 0.101 244.8);
Tailwind
colors: {
  custom: {
    50: '#80a3c8',
    500: '#407fb1',
    950: '#000000',
  },
}
SCSS
$custom: #407fb1;
$custom-light: #80a3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#407fb1",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 206.549,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.10104,
    "h": 244.8
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#407FB1
secondary
#C3A389
accent
#8C51D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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