#4179CC#4179CC

#4179CC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 57.9% C 0.141 H 258.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4179CC
RGBrgb(65, 121, 204)
HSLhsl(216, 58%, 53%)
HSVhsv(216, 68%, 80%)
CMYKcmyk(68.1%, 40.7%, 0%, 20%)
CIE-LABlab(50.87, 8.73, -48.46)
CIE-LCHlch(50.87, 49.24, 280.21°)
OKLaboklab(57.89% -0.0289 -0.1382)
OKLCHoklch(57.89% 0.141 258.2)
XYZxyz(19.9125, 19.1562, 59.7631)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179CC #CC9441
analogous
#41BFCC #4179CC #4E41CC
triadic
#4179CC #CC4179 #79CC41
tetradic
#4179CC #CC41BF #CC9441 #41CC4E
square
#4179CC #CC41BF #CC9441 #41CC4E
split-complementary
#4179CC #CC4E41 #BFCC41
monochromatic
#1F4174 #2C5CA4 #4179CC #719BD9 #A1BDE6

Accessibility & contrast

On white

4.35
#4179CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4179CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179CC#FFFFFF#000000##000000
##4179CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4179cc;
/* rgb */ color: rgb(65, 121, 204);
/* oklch */ color: oklch(57.9% 0.141 258.2);
Tailwind
colors: {
  custom: {
    50: '#859fdc',
    500: '#4179cc',
    950: '#000000',
  },
}
SCSS
$custom: #4179cc;
$custom-light: #859fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4179cc",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 215.827,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.14118,
    "h": 258.2
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#4179CC
secondary
#D3BA96
accent
#A347E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4179CC

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

Preview Lab → · Contrast checker → · Palette generator →

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