#4172CF#4172CF

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

Color values

HEX#4172CF
RGBrgb(65, 114, 207)
HSLhsl(219, 60%, 53%)
HSVhsv(219, 69%, 81%)
CMYKcmyk(68.6%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.08, 14.14, -53.02)
CIE-LCHlch(49.08, 54.88, 284.93°)
OKLaboklab(56.57% -0.0217 -0.1517)
OKLCHoklch(56.57% 0.153 261.8)
XYZxyz(19.4558, 17.6615, 61.4030)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172CF #CF9E41
analogous
#41B9CF #4172CF #5741CF
triadic
#4172CF #CF4172 #72CF41
tetradic
#4172CF #CF41B9 #CF9E41 #41CF57
square
#4172CF #CF41B9 #CF9E41 #41CF57
split-complementary
#4172CF #CF5741 #B9CF41
monochromatic
#1E3D77 #2B56A8 #4172CF #7296DB #A3BBE8

Accessibility & contrast

On white

4.63
#4172CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4172CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4172CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172CF#FFFFFF#000000##FFFFFF
##4172CF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#296FCD
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4172cf;
/* rgb */ color: rgb(65, 114, 207);
/* oklch */ color: oklch(56.6% 0.153 261.8);
Tailwind
colors: {
  custom: {
    50: '#859ade',
    500: '#4172cf',
    950: '#000000',
  },
}
SCSS
$custom: #4172cf;
$custom-light: #859ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4172cf",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 219.296,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.15326,
    "h": 261.8
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#4172CF
secondary
#D4BF97
accent
#AC45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4172CF

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

Preview Lab → · Contrast checker → · Palette generator →

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