#4176D7#4176D7

#4176D7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.159 H 261.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4176D7
RGBrgb(65, 118, 215)
HSLhsl(219, 65%, 55%)
HSVhsv(219, 70%, 84%)
CMYKcmyk(69.8%, 45.1%, 0%, 15.7%)
CIE-LABlab(50.67, 14.52, -55.03)
CIE-LCHlch(50.67, 56.91, 284.78°)
OKLaboklab(57.94% -0.024 -0.1575)
OKLCHoklch(57.94% 0.159 261.3)
XYZxyz(20.9198, 18.9848, 66.8387)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4176D7 #D7A241
analogous
#41C1D7 #4176D7 #5741D7
triadic
#4176D7 #D74176 #76D741
tetradic
#4176D7 #D741C1 #D7A241 #41D757
square
#4176D7 #D741C1 #D7A241 #41D757
split-complementary
#4176D7 #D75741 #C1D741
monochromatic
#1B4082 #2658B5 #4176D7 #749AE2 #A6BFEC

Accessibility & contrast

On white

4.38
#4176D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4176D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4176D7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4176D7#FFFFFF#000000##000000
##4176D71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DB
Deuteranopia (green-blind)
#2772D5
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4176d7;
/* rgb */ color: rgb(65, 118, 215);
/* oklch */ color: oklch(57.9% 0.159 261.3);
Tailwind
colors: {
  custom: {
    50: '#879ce4',
    500: '#4176d7',
    950: '#000000',
  },
}
SCSS
$custom: #4176d7;
$custom-light: #879ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4176d7",
  "rgb": {
    "r": 65,
    "g": 118,
    "b": 215
  },
  "hsl": {
    "h": 218.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.15936,
    "h": 261.3
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#4176D7
secondary
#D9C39A
accent
#AD40E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #4176D7

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

Preview Lab → · Contrast checker → · Palette generator →

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