#407FCE#407FCE

#407FCE is a mid, vivid cyan. Relative luminance 0.207; OKLCH L 59.3% C 0.138 H 255.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#407FCE
RGBrgb(64, 127, 206)
HSLhsl(213, 59%, 53%)
HSVhsv(213, 69%, 81%)
CMYKcmyk(68.9%, 38.3%, 0%, 19.2%)
CIE-LABlab(52.64, 5.62, -46.78)
CIE-LCHlch(52.64, 47.11, 276.85°)
OKLaboklab(59.3% -0.0349 -0.1332)
OKLCHoklch(59.3% 0.138 255.3)
XYZxyz(20.8402, 20.7228, 61.2821)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FCE #CE8F40
analogous
#40C6CE #407FCE #4840CE
triadic
#407FCE #CE407F #7FCE40
tetradic
#407FCE #CE40C6 #CE8F40 #40CE48
square
#407FCE #CE40C6 #CE8F40 #40CE48
split-complementary
#407FCE #CE4840 #C6CE40
monochromatic
#1E4575 #2B61A6 #407FCE #71A0DA #A1C0E7

Accessibility & contrast

On white

4.08
#407FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#407FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FCE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FCE#FFFFFF#000000##000000
##407FCE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D1
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #407fce;
/* rgb */ color: rgb(64, 127, 206);
/* oklch */ color: oklch(59.3% 0.138 255.3);
Tailwind
colors: {
  custom: {
    50: '#84a3dd',
    500: '#407fce',
    950: '#000000',
  },
}
SCSS
$custom: #407fce;
$custom-light: #84a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#407fce",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 213.38,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.13769,
    "h": 255.3
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#407FCE
secondary
#D4B896
accent
#9D45E2
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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