#4176C7#4176C7

#4176C7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.138 H 258.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4176C7
RGBrgb(65, 118, 199)
HSLhsl(216, 54%, 52%)
HSVhsv(216, 67%, 78%)
CMYKcmyk(67.3%, 40.7%, 0%, 22%)
CIE-LABlab(49.74, 8.80, -47.40)
CIE-LCHlch(49.74, 48.21, 280.52°)
OKLaboklab(56.93% -0.0271 -0.1351)
OKLCHoklch(56.93% 0.138 258.7)
XYZxyz(18.9635, 18.2023, 56.5358)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4176C7 #C79241
analogous
#41B9C7 #4176C7 #4F41C7
triadic
#4176C7 #C74176 #76C741
tetradic
#4176C7 #C741B9 #C79241 #41C74F
square
#4176C7 #C741B9 #C79241 #41C74F
split-complementary
#4176C7 #C74F41 #B9C741
monochromatic
#203F6D #2E5A9D #4176C7 #7098D5 #A0BAE3

Accessibility & contrast

On white

4.53
#4176C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4176C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4176C7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4176C7#FFFFFF#000000##000000
##4176C71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#3C71C5
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4176c7;
/* rgb */ color: rgb(65, 118, 199);
/* oklch */ color: oklch(56.9% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#849dd8',
    500: '#4176c7',
    950: '#000000',
  },
}
SCSS
$custom: #4176c7;
$custom-light: #849dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4176c7",
  "rgb": {
    "r": 65,
    "g": 118,
    "b": 199
  },
  "hsl": {
    "h": 216.269,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56925,
    "c": 0.13782,
    "h": 258.7
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#4176C7
secondary
#CFB895
accent
#A34ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4176C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4176C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva