#407CBF#407CBF

#407CBF is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.121 H 252.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#407CBF
RGBrgb(64, 124, 191)
HSLhsl(212, 50%, 50%)
HSVhsv(212, 66%, 75%)
CMYKcmyk(66.5%, 35.1%, 0%, 25.1%)
CIE-LABlab(51.00, 2.15, -40.83)
CIE-LCHlch(51.00, 40.89, 273.01°)
OKLaboklab(57.75% -0.0357 -0.1158)
OKLCHoklch(57.75% 0.121 252.9)
XYZxyz(18.7225, 19.2650, 52.0119)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CBF #BF8340
analogous
#40BBBF #407CBF #4440BF
triadic
#407CBF #BF407C #7CBF40
tetradic
#407CBF #BF40BB #BF8340 #40BF44
square
#407CBF #BF40BB #BF8340 #40BF44
split-complementary
#407CBF #BF4440 #BBBF40
monochromatic
#214063 #315E91 #407CBF #6E9BCE #9CBBDE

Accessibility & contrast

On white

4.33
#407CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#407CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CBF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CBF#FFFFFF#000000##000000
##407CBF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407cbf;
/* rgb */ color: rgb(64, 124, 191);
/* oklch */ color: oklch(57.8% 0.121 252.9);
Tailwind
colors: {
  custom: {
    50: '#82a1d2',
    500: '#407cbf',
    950: '#000000',
  },
}
SCSS
$custom: #407cbf;
$custom-light: #82a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407cbf",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 211.654,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.12122,
    "h": 252.9
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#407CBF
secondary
#CAAF91
accent
#984ED9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #407CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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