#4176C2#4176C2

#4176C2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.6% C 0.131 H 257.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4176C2
RGBrgb(65, 118, 194)
HSLhsl(215, 51%, 51%)
HSVhsv(215, 66%, 76%)
CMYKcmyk(66.5%, 39.2%, 0%, 23.9%)
CIE-LABlab(49.46, 7.03, -44.98)
CIE-LCHlch(49.46, 45.52, 278.88°)
OKLaboklab(56.62% -0.0282 -0.128)
OKLCHoklch(56.62% 0.131 257.6)
XYZxyz(18.3925, 17.9739, 53.5285)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4176C2 #C28D41
analogous
#41B6C2 #4176C2 #4C41C2
triadic
#4176C2 #C24176 #76C241
tetradic
#4176C2 #C241B6 #C28D41 #41C24C
square
#4176C2 #C241B6 #C28D41 #41C24C
split-complementary
#4176C2 #C24C41 #B6C241
monochromatic
#213E67 #305A96 #4176C2 #6F97D1 #9EB9E0

Accessibility & contrast

On white

4.57
#4176C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4176C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4176C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4176C2#FFFFFF#000000##000000
##4176C21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4176c2;
/* rgb */ color: rgb(65, 118, 194);
/* oklch */ color: oklch(56.6% 0.131 257.6);
Tailwind
colors: {
  custom: {
    50: '#839dd5',
    500: '#4176c2',
    950: '#000000',
  },
}
SCSS
$custom: #4176c2;
$custom-light: #839dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4176c2",
  "rgb": {
    "r": 65,
    "g": 118,
    "b": 194
  },
  "hsl": {
    "h": 215.349,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56621,
    "c": 0.13109,
    "h": 257.6
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#4176C2
secondary
#CCB593
accent
#A14DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4176C2

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

Preview Lab → · Contrast checker → · Palette generator →

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