#417EC5#417EC5

#417EC5 is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.127 H 253.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#417EC5
RGBrgb(65, 126, 197)
HSLhsl(212, 53%, 51%)
HSVhsv(212, 67%, 77%)
CMYKcmyk(67%, 36%, 0%, 22.7%)
CIE-LABlab(51.92, 3.21, -42.80)
CIE-LCHlch(51.92, 42.92, 274.29°)
OKLaboklab(58.59% -0.0354 -0.1215)
OKLCHoklch(58.59% 0.127 253.7)
XYZxyz(19.7152, 20.0747, 55.6483)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417EC5 #C58841
analogous
#41C0C5 #417EC5 #4641C5
triadic
#417EC5 #C5417E #7EC541
tetradic
#417EC5 #C541C0 #C58841 #41C546
square
#417EC5 #C541C0 #C58841 #41C546
split-complementary
#417EC5 #C54641 #C0C541
monochromatic
#21436B #2F609A #417EC5 #709ED3 #9FBEE2

Accessibility & contrast

On white

4.19
#417EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#417EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417EC5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417EC5#FFFFFF#000000##000000
##417EC51.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#4C76C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #417ec5;
/* rgb */ color: rgb(65, 126, 197);
/* oklch */ color: oklch(58.6% 0.127 253.7);
Tailwind
colors: {
  custom: {
    50: '#83a3d7',
    500: '#417ec5',
    950: '#000000',
  },
}
SCSS
$custom: #417ec5;
$custom-light: #83a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#417ec5",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 212.273,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.1266,
    "h": 253.7
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#417EC5
secondary
#CEB394
accent
#994BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #417EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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