#4179DC#4179DC

#4179DC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.163 H 260.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4179DC
RGBrgb(65, 121, 220)
HSLhsl(218, 69%, 56%)
HSVhsv(218, 70%, 86%)
CMYKcmyk(70.5%, 45%, 0%, 13.7%)
CIE-LABlab(51.80, 14.45, -56.05)
CIE-LCHlch(51.80, 57.88, 284.46°)
OKLaboklab(58.91% -0.0258 -0.1605)
OKLCHoklch(58.91% 0.163 260.9)
XYZxyz(21.9310, 19.9636, 70.3938)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179DC #DCA441
analogous
#41C6DC #4179DC #5641DC
triadic
#4179DC #DC4179 #79DC41
tetradic
#4179DC #DC41C6 #DCA441 #41DC56
square
#4179DC #DC41C6 #DCA441 #41DC56
split-complementary
#4179DC #DC5641 #C6DC41
monochromatic
#194289 #235BBD #4179DC #759DE6 #A8C2EF

Accessibility & contrast

On white

4.21
#4179DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4179DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179DC#FFFFFF#000000##000000
##4179DC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4179dc;
/* rgb */ color: rgb(65, 121, 220);
/* oklch */ color: oklch(58.9% 0.163 260.9);
Tailwind
colors: {
  custom: {
    50: '#879fe7',
    500: '#4179dc',
    950: '#000000',
  },
}
SCSS
$custom: #4179dc;
$custom-light: #879fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4179dc",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 218.323,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.16256,
    "h": 260.9
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#4179DC
secondary
#DDC59C
accent
#AC3CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4179DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4179DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva