#4172BB#4172BB

#4172BB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.126 H 258.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4172BB
RGBrgb(65, 114, 187)
HSLhsl(216, 48%, 49%)
HSVhsv(216, 65%, 73%)
CMYKcmyk(65.2%, 39%, 0%, 26.7%)
CIE-LABlab(47.94, 7.03, -43.37)
CIE-LCHlch(47.94, 43.94, 279.20°)
OKLaboklab(55.31% -0.0257 -0.1234)
OKLCHoklch(55.31% 0.126 258.2)
XYZxyz(17.1637, 16.7446, 49.3316)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172BB #BB8A41
analogous
#41AFBB #4172BB #4D41BB
triadic
#4172BB #BB4172 #72BB41
tetradic
#4172BB #BB41AF #BB8A41 #41BB4D
square
#4172BB #BB41AF #BB8A41 #41BB4D
split-complementary
#4172BB #BB4D41 #AFBB41
monochromatic
#213B60 #31568E #4172BB #6D93CC #9AB5DC

Accessibility & contrast

On white

4.83
#4172BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4172BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172BB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172BB#FFFFFF#000000##FFFFFF
##4172BB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4172bb;
/* rgb */ color: rgb(65, 114, 187);
/* oklch */ color: oklch(55.3% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#829ad0',
    500: '#4172bb',
    950: '#000000',
  },
}
SCSS
$custom: #4172bb;
$custom-light: #829ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4172bb",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 215.902,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5531,
    "c": 0.12604,
    "h": 258.2
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#4172BB
secondary
#C8B190
accent
#A150D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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