#4172D0#4172D0

#4172D0 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.155 H 262.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4172D0
RGBrgb(65, 114, 208)
HSLhsl(219, 60%, 54%)
HSVhsv(219, 69%, 82%)
CMYKcmyk(68.8%, 45.2%, 0%, 18.4%)
CIE-LABlab(49.14, 14.50, -53.50)
CIE-LCHlch(49.14, 55.43, 285.17°)
OKLaboklab(56.63% -0.0216 -0.1531)
OKLCHoklch(56.63% 0.155 262)
XYZxyz(19.5784, 17.7105, 62.0489)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172D0 #D09F41
analogous
#41B9D0 #4172D0 #5741D0
triadic
#4172D0 #D04172 #72D041
tetradic
#4172D0 #D041B9 #D09F41 #41D057
square
#4172D0 #D041B9 #D09F41 #41D057
split-complementary
#4172D0 #D05741 #B9D041
monochromatic
#1E3D79 #2A56AA #4172D0 #7296DC #A3BBE8

Accessibility & contrast

On white

4.62
#4172D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4172D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4172D0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172D0#FFFFFF#000000##FFFFFF
##4172D01.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437CD4
Deuteranopia (green-blind)
#276FCE
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4172d0;
/* rgb */ color: rgb(65, 114, 208);
/* oklch */ color: oklch(56.6% 0.155 262.0);
Tailwind
colors: {
  custom: {
    50: '#859adf',
    500: '#4172d0',
    950: '#000000',
  },
}
SCSS
$custom: #4172d0;
$custom-light: #859adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4172d0",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 208
  },
  "hsl": {
    "h": 219.441,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.15461,
    "h": 262
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#4172D0
secondary
#D5C098
accent
#AD44E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172D0

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

Preview Lab → · Contrast checker → · Palette generator →

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