#407FBF#407FBF

#407FBF is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.118 H 250.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#407FBF
RGBrgb(64, 127, 191)
HSLhsl(210, 50%, 50%)
HSVhsv(210, 66%, 75%)
CMYKcmyk(66.5%, 33.5%, 0%, 25.1%)
CIE-LABlab(51.87, 0.35, -39.45)
CIE-LCHlch(51.87, 39.46, 270.50°)
OKLaboklab(58.44% -0.0388 -0.1118)
OKLCHoklch(58.44% 0.118 250.9)
XYZxyz(19.1042, 20.0284, 52.1392)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FBF #BF8040
analogous
#40BFBF #407FBF #4040BF
triadic
#407FBF #BF407F #7FBF40
tetradic
#407FBF #BF40BF #BF8040 #40BF40
square
#407FBF #BF40BF #BF8040 #40BF40
split-complementary
#407FBF #BF4040 #BFBF40
monochromatic
#214263 #316191 #407FBF #6E9ECE #9CBCDE

Accessibility & contrast

On white

4.19
#407FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#407FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FBF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FBF#FFFFFF#000000##000000
##407FBF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C2
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407fbf;
/* rgb */ color: rgb(64, 127, 191);
/* oklch */ color: oklch(58.4% 0.118 250.9);
Tailwind
colors: {
  custom: {
    50: '#82a3d2',
    500: '#407fbf',
    950: '#000000',
  },
}
SCSS
$custom: #407fbf;
$custom-light: #82a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407fbf",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 210.236,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.11831,
    "h": 250.9
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#407FBF
secondary
#CAAE91
accent
#944ED9
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #407FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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