#4172CC#4172CC

#4172CC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.149 H 261.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4172CC
RGBrgb(65, 114, 204)
HSLhsl(219, 58%, 53%)
HSVhsv(219, 68%, 80%)
CMYKcmyk(68.1%, 44.1%, 0%, 20%)
CIE-LABlab(48.90, 13.07, -51.60)
CIE-LCHlch(48.90, 53.23, 284.21°)
OKLaboklab(56.37% -0.0223 -0.1475)
OKLCHoklch(56.37% 0.149 261.4)
XYZxyz(19.0925, 17.5161, 59.4898)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172CC #CC9B41
analogous
#41B7CC #4172CC #5641CC
triadic
#4172CC #CC4172 #72CC41
tetradic
#4172CC #CC41B7 #CC9B41 #41CC56
square
#4172CC #CC41B7 #CC9B41 #41CC56
split-complementary
#4172CC #CC5641 #B7CC41
monochromatic
#1F3D74 #2C56A4 #4172CC #7196D9 #A1BAE6

Accessibility & contrast

On white

4.66
#4172CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4172CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4172CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172CC#FFFFFF#000000##FFFFFF
##4172CC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4172cc;
/* rgb */ color: rgb(65, 114, 204);
/* oklch */ color: oklch(56.4% 0.149 261.4);
Tailwind
colors: {
  custom: {
    50: '#859adc',
    500: '#4172cc',
    950: '#000000',
  },
}
SCSS
$custom: #4172cc;
$custom-light: #859adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4172cc",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 218.849,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.14919,
    "h": 261.4
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#4172CC
secondary
#D3BD96
accent
#AB47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172CC

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

Preview Lab → · Contrast checker → · Palette generator →

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