#4179D7#4179D7

#4179D7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.156 H 260.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4179D7
RGBrgb(65, 121, 215)
HSLhsl(218, 65%, 55%)
HSVhsv(218, 70%, 84%)
CMYKcmyk(69.8%, 43.7%, 0%, 15.7%)
CIE-LABlab(51.50, 12.66, -53.70)
CIE-LCHlch(51.50, 55.17, 283.26°)
OKLaboklab(58.58% -0.0267 -0.1536)
OKLCHoklch(58.58% 0.156 260.1)
XYZxyz(21.2787, 19.7026, 66.9584)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179D7 #D79F41
analogous
#41C4D7 #4179D7 #5441D7
triadic
#4179D7 #D74179 #79D741
tetradic
#4179D7 #D741C4 #D79F41 #41D754
square
#4179D7 #D741C4 #D79F41 #41D754
split-complementary
#4179D7 #D75441 #C4D741
monochromatic
#1B4282 #265BB5 #4179D7 #749DE2 #A6C0EC

Accessibility & contrast

On white

4.25
#4179D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4179D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179D7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179D7#FFFFFF#000000##000000
##4179D71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#3074D5
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4179d7;
/* rgb */ color: rgb(65, 121, 215);
/* oklch */ color: oklch(58.6% 0.156 260.1);
Tailwind
colors: {
  custom: {
    50: '#879fe4',
    500: '#4179d7',
    950: '#000000',
  },
}
SCSS
$custom: #4179d7;
$custom-light: #879fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4179d7",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 217.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.15589,
    "h": 260.1
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#4179D7
secondary
#D9C29A
accent
#A940E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #4179D7

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

Preview Lab → · Contrast checker → · Palette generator →

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