#4173BF#4173BF

#4173BF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.130 H 258.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4173BF
RGBrgb(65, 115, 191)
HSLhsl(216, 50%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(66%, 39.8%, 0%, 25.1%)
CIE-LABlab(48.44, 7.82, -44.88)
CIE-LCHlch(48.44, 45.55, 279.88°)
OKLaboklab(55.77% -0.0258 -0.1278)
OKLCHoklch(55.77% 0.13 258.6)
XYZxyz(17.7113, 17.1451, 51.6561)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173BF #BF8D41
analogous
#41B2BF #4173BF #4E41BF
triadic
#4173BF #BF4173 #73BF41
tetradic
#4173BF #BF41B2 #BF8D41 #41BF4E
square
#4173BF #BF41B2 #BF8D41 #41BF4E
split-complementary
#4173BF #BF4E41 #B2BF41
monochromatic
#223C64 #315792 #4173BF #6F95CE #9DB6DE

Accessibility & contrast

On white

4.74
#4173BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4173BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173BF#FFFFFF#000000##FFFFFF
##4173BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#3E6EBD
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4173bf;
/* rgb */ color: rgb(65, 115, 191);
/* oklch */ color: oklch(55.8% 0.130 258.6);
Tailwind
colors: {
  custom: {
    50: '#829ad3',
    500: '#4173bf',
    950: '#000000',
  },
}
SCSS
$custom: #4173bf;
$custom-light: #829ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4173bf",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 216.19,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.13036,
    "h": 258.6
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4173BF

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

Preview Lab → · Contrast checker → · Palette generator →

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