#4176D4#4176D4

#4176D4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.155 H 260.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4176D4
RGBrgb(65, 118, 212)
HSLhsl(218, 63%, 54%)
HSVhsv(218, 69%, 83%)
CMYKcmyk(69.3%, 44.3%, 0%, 16.9%)
CIE-LABlab(50.49, 13.44, -53.61)
CIE-LCHlch(50.49, 55.27, 284.07°)
OKLaboklab(57.75% -0.0245 -0.1534)
OKLCHoklch(57.75% 0.155 260.9)
XYZxyz(20.5378, 18.8320, 64.8272)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4176D4 #D49F41
analogous
#41C0D4 #4176D4 #5641D4
triadic
#4176D4 #D44176 #76D441
tetradic
#4176D4 #D441C0 #D49F41 #41D456
square
#4176D4 #D441C0 #D49F41 #41D456
split-complementary
#4176D4 #D45641 #C0D441
monochromatic
#1D407E #2859B0 #4176D4 #739ADF #A5BEEB

Accessibility & contrast

On white

4.41
#4176D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4176D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4176D4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4176D4#FFFFFF#000000##000000
##4176D41.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD8
Deuteranopia (green-blind)
#2C72D2
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4176d4;
/* rgb */ color: rgb(65, 118, 212);
/* oklch */ color: oklch(57.7% 0.155 260.9);
Tailwind
colors: {
  custom: {
    50: '#869ce2',
    500: '#4176d4',
    950: '#000000',
  },
}
SCSS
$custom: #4176d4;
$custom-light: #869ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4176d4",
  "rgb": {
    "r": 65,
    "g": 118,
    "b": 212
  },
  "hsl": {
    "h": 218.367,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.15533,
    "h": 260.9
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#4176D4
secondary
#D8C199
accent
#AB42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4176D4

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

Preview Lab → · Contrast checker → · Palette generator →

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