#4170C8#4170C8

#4170C8 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.146 H 261.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4170C8
RGBrgb(65, 112, 200)
HSLhsl(219, 55%, 52%)
HSVhsv(219, 68%, 78%)
CMYKcmyk(67.5%, 44%, 0%, 21.6%)
CIE-LABlab(48.11, 12.89, -50.58)
CIE-LCHlch(48.11, 52.20, 284.30°)
OKLaboklab(55.68% -0.0211 -0.1446)
OKLCHoklch(55.68% 0.146 261.7)
XYZxyz(18.3958, 16.8805, 56.9212)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4170C8 #C89941
analogous
#41B4C8 #4170C8 #5641C8
triadic
#4170C8 #C84170 #70C841
tetradic
#4170C8 #C841B4 #C89941 #41C856
square
#4170C8 #C841B4 #C89941 #41C856
split-complementary
#4170C8 #C85641 #B4C841
monochromatic
#203B6F #2E559E #4170C8 #7094D6 #A0B7E3

Accessibility & contrast

On white

4.80
#4170C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4170C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4170C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4170C8#FFFFFF#000000##FFFFFF
##4170C81.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4170c8;
/* rgb */ color: rgb(65, 112, 200);
/* oklch */ color: oklch(55.7% 0.146 261.7);
Tailwind
colors: {
  custom: {
    50: '#8498d9',
    500: '#4170c8',
    950: '#000000',
  },
}
SCSS
$custom: #4170c8;
$custom-light: #8498d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4170c8",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 219.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.14609,
    "h": 261.7
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#4170C8
secondary
#D0BB95
accent
#AB49DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4170C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4170C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva