#417EC7#417EC7

#417EC7 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.129 H 254.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#417EC7
RGBrgb(65, 126, 199)
HSLhsl(213, 54%, 52%)
HSVhsv(213, 67%, 78%)
CMYKcmyk(67.3%, 36.7%, 0%, 22%)
CIE-LABlab(52.03, 3.91, -43.77)
CIE-LCHlch(52.03, 43.95, 275.11°)
OKLaboklab(58.7% -0.0349 -0.1244)
OKLCHoklch(58.7% 0.129 254.3)
XYZxyz(19.9459, 20.1670, 56.8632)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417EC7 #C78A41
analogous
#41C1C7 #417EC7 #4741C7
triadic
#417EC7 #C7417E #7EC741
tetradic
#417EC7 #C741C1 #C78A41 #41C747
square
#417EC7 #C741C1 #C78A41 #41C747
split-complementary
#417EC7 #C74741 #C1C741
monochromatic
#20436D #2E609D #417EC7 #709ED5 #A0BEE3

Accessibility & contrast

On white

4.17
#417EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#417EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417EC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417EC7#FFFFFF#000000##000000
##417EC71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4A76C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #417ec7;
/* rgb */ color: rgb(65, 126, 199);
/* oklch */ color: oklch(58.7% 0.129 254.3);
Tailwind
colors: {
  custom: {
    50: '#84a3d8',
    500: '#417ec7',
    950: '#000000',
  },
}
SCSS
$custom: #417ec7;
$custom-light: #84a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#417ec7",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 212.687,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.1292,
    "h": 254.3
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#417EC7
secondary
#CFB595
accent
#9B4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #417EC7

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

Preview Lab → · Contrast checker → · Palette generator →

#417EC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva