#4172BF#4172BF

#4172BF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.131 H 259.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4172BF
RGBrgb(65, 114, 191)
HSLhsl(217, 50%, 50%)
HSVhsv(217, 66%, 75%)
CMYKcmyk(66%, 40.3%, 0%, 25.1%)
CIE-LABlab(48.16, 8.44, -45.33)
CIE-LCHlch(48.16, 46.11, 280.55°)
OKLaboklab(55.55% -0.0248 -0.1291)
OKLCHoklch(55.55% 0.131 259.1)
XYZxyz(17.5979, 16.9183, 51.6183)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172BF #BF8E41
analogous
#41B1BF #4172BF #4F41BF
triadic
#4172BF #BF4172 #72BF41
tetradic
#4172BF #BF41B1 #BF8E41 #41BF4F
square
#4172BF #BF41B1 #BF8E41 #41BF4F
split-complementary
#4172BF #BF4F41 #B1BF41
monochromatic
#223B64 #315792 #4172BF #6F94CE #9DB6DE

Accessibility & contrast

On white

4.79
#4172BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4172BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172BF#FFFFFF#000000##FFFFFF
##4172BF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4172bf;
/* rgb */ color: rgb(65, 114, 191);
/* oklch */ color: oklch(55.6% 0.131 259.1);
Tailwind
colors: {
  custom: {
    50: '#829ad3',
    500: '#4172bf',
    950: '#000000',
  },
}
SCSS
$custom: #4172bf;
$custom-light: #829ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4172bf",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 216.667,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.13149,
    "h": 259.1
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#4172BF
secondary
#CAB492
accent
#A34FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4172BF

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

Preview Lab → · Contrast checker → · Palette generator →

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