#4179D5#4179D5

#4179D5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.153 H 259.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4179D5
RGBrgb(65, 121, 213)
HSLhsl(217, 64%, 55%)
HSVhsv(217, 69%, 84%)
CMYKcmyk(69.5%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.38, 11.94, -52.75)
CIE-LCHlch(51.38, 54.09, 282.75°)
OKLaboklab(58.45% -0.0271 -0.1508)
OKLCHoklch(58.45% 0.153 259.8)
XYZxyz(21.0233, 19.6005, 65.6132)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179D5 #D59D41
analogous
#41C3D5 #4179D5 #5341D5
triadic
#4179D5 #D54179 #79D541
tetradic
#4179D5 #D541C3 #D59D41 #41D553
square
#4179D5 #D541C3 #D59D41 #41D553
split-complementary
#4179D5 #D55341 #C3D541
monochromatic
#1C427F #275CB2 #4179D5 #739CE0 #A5C0EB

Accessibility & contrast

On white

4.27
#4179D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4179D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179D5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179D5#FFFFFF#000000##000000
##4179D51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4179d5;
/* rgb */ color: rgb(65, 121, 213);
/* oklch */ color: oklch(58.5% 0.153 259.8);
Tailwind
colors: {
  custom: {
    50: '#869fe2',
    500: '#4179d5',
    950: '#000000',
  },
}
SCSS
$custom: #4179d5;
$custom-light: #869fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4179d5",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 217.297,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.15322,
    "h": 259.8
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#4179D5
secondary
#D8C19A
accent
#A841E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4179D5

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

Preview Lab → · Contrast checker → · Palette generator →

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