#4172CD#4172CD

#4172CD is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.4% C 0.151 H 261.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4172CD
RGBrgb(65, 114, 205)
HSLhsl(219, 58%, 53%)
HSVhsv(219, 68%, 80%)
CMYKcmyk(68.3%, 44.4%, 0%, 19.6%)
CIE-LABlab(48.96, 13.43, -52.08)
CIE-LCHlch(48.96, 53.78, 284.46°)
OKLaboklab(56.44% -0.0221 -0.1489)
OKLCHoklch(56.44% 0.151 261.6)
XYZxyz(19.2128, 17.5643, 60.1235)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172CD #CD9C41
analogous
#41B8CD #4172CD #5641CD
triadic
#4172CD #CD4172 #72CD41
tetradic
#4172CD #CD41B8 #CD9C41 #41CD56
square
#4172CD #CD41B8 #CD9C41 #41CD56
split-complementary
#4172CD #CD5641 #B8CD41
monochromatic
#1F3D75 #2C56A5 #4172CD #7196DA #A2BAE6

Accessibility & contrast

On white

4.65
#4172CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4172CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4172CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172CD#FFFFFF#000000##FFFFFF
##4172CD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4172cd;
/* rgb */ color: rgb(65, 114, 205);
/* oklch */ color: oklch(56.4% 0.151 261.6);
Tailwind
colors: {
  custom: {
    50: '#859add',
    500: '#4172cd',
    950: '#000000',
  },
}
SCSS
$custom: #4172cd;
$custom-light: #859add;
$custom-dark: #000000;
JSON
{
  "hex": "#4172cd",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 219,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.15055,
    "h": 261.6
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#4172CD
secondary
#D3BE97
accent
#AB46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172CD

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

Preview Lab → · Contrast checker → · Palette generator →

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