#4176C5#4176C5

#4176C5 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.8% C 0.135 H 258.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4176C5
RGBrgb(65, 118, 197)
HSLhsl(216, 53%, 51%)
HSVhsv(216, 67%, 77%)
CMYKcmyk(67%, 40.1%, 0%, 22.7%)
CIE-LABlab(49.63, 8.09, -46.44)
CIE-LCHlch(49.63, 47.14, 279.88°)
OKLaboklab(56.8% -0.0275 -0.1323)
OKLCHoklch(56.8% 0.135 258.3)
XYZxyz(18.7328, 18.1100, 55.3208)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4176C5 #C59041
analogous
#41B8C5 #4176C5 #4E41C5
triadic
#4176C5 #C54176 #76C541
tetradic
#4176C5 #C541B8 #C59041 #41C54E
square
#4176C5 #C541B8 #C59041 #41C54E
split-complementary
#4176C5 #C54E41 #B8C541
monochromatic
#213E6B #2F5A9A #4176C5 #7098D3 #9FBAE2

Accessibility & contrast

On white

4.54
#4176C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4176C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4176C5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4176C5#FFFFFF#000000##000000
##4176C51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DC8
Deuteranopia (green-blind)
#3E70C3
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4176c5;
/* rgb */ color: rgb(65, 118, 197);
/* oklch */ color: oklch(56.8% 0.135 258.3);
Tailwind
colors: {
  custom: {
    50: '#839dd7',
    500: '#4176c5',
    950: '#000000',
  },
}
SCSS
$custom: #4176c5;
$custom-light: #839dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4176c5",
  "rgb": {
    "r": 65,
    "g": 118,
    "b": 197
  },
  "hsl": {
    "h": 215.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.13513,
    "h": 258.3
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#4176C5
secondary
#CEB794
accent
#A24BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4176C5

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

Preview Lab → · Contrast checker → · Palette generator →

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