#417EC6#417EC6

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

Color values

HEX#417EC6
RGBrgb(65, 126, 198)
HSLhsl(212, 54%, 52%)
HSVhsv(212, 67%, 78%)
CMYKcmyk(67.2%, 36.4%, 0%, 22.4%)
CIE-LABlab(51.97, 3.56, -43.29)
CIE-LCHlch(51.97, 43.43, 274.70°)
OKLaboklab(58.65% -0.0352 -0.123)
OKLCHoklch(58.65% 0.128 254)
XYZxyz(19.8301, 20.1207, 56.2538)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417EC6 #C68941
analogous
#41C1C6 #417EC6 #4741C6
triadic
#417EC6 #C6417E #7EC641
tetradic
#417EC6 #C641C1 #C68941 #41C647
square
#417EC6 #C641C1 #C68941 #41C647
split-complementary
#417EC6 #C64741 #C1C641
monochromatic
#20436C #2F609B #417EC6 #709ED4 #9FBEE2

Accessibility & contrast

On white

4.18
#417EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##417EC6#FFFFFF#000000##000000
##417EC61.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4B76C5
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #417ec6;
/* rgb */ color: rgb(65, 126, 198);
/* oklch */ color: oklch(58.6% 0.128 254.0);
Tailwind
colors: {
  custom: {
    50: '#83a3d7',
    500: '#417ec6',
    950: '#000000',
  },
}
SCSS
$custom: #417ec6;
$custom-light: #83a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#417ec6",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 212.481,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.12791,
    "h": 254
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#417EC6
secondary
#CFB494
accent
#9A4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #417EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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