#417ACC#417ACC

#417ACC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.1% C 0.140 H 257.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#417ACC
RGBrgb(65, 122, 204)
HSLhsl(215, 58%, 53%)
HSVhsv(215, 68%, 80%)
CMYKcmyk(68.1%, 40.2%, 0%, 20%)
CIE-LABlab(51.15, 8.12, -48.01)
CIE-LCHlch(51.15, 48.69, 279.60°)
OKLaboklab(58.11% -0.0299 -0.1369)
OKLCHoklch(58.11% 0.14 257.7)
XYZxyz(20.0346, 19.4005, 59.8038)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417ACC #CC9341
analogous
#41BFCC #417ACC #4E41CC
triadic
#417ACC #CC417A #7ACC41
tetradic
#417ACC #CC41BF #CC9341 #41CC4E
square
#417ACC #CC41BF #CC9341 #41CC4E
split-complementary
#417ACC #CC4E41 #BFCC41
monochromatic
#1F4274 #2C5DA4 #417ACC #719CD9 #A1BEE6

Accessibility & contrast

On white

4.30
#417ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#417ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417ACC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417ACC#FFFFFF#000000##000000
##417ACC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #417acc;
/* rgb */ color: rgb(65, 122, 204);
/* oklch */ color: oklch(58.1% 0.140 257.7);
Tailwind
colors: {
  custom: {
    50: '#85a0dc',
    500: '#417acc',
    950: '#000000',
  },
}
SCSS
$custom: #417acc;
$custom-light: #85a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#417acc",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 215.396,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.14008,
    "h": 257.7
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#417ACC
secondary
#D3BA96
accent
#A247E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #417ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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