#4173BD#4173BD

#4173BD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.7% C 0.128 H 258.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4173BD
RGBrgb(65, 115, 189)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 74%)
CMYKcmyk(65.6%, 39.2%, 0%, 25.9%)
CIE-LABlab(48.33, 7.11, -43.90)
CIE-LCHlch(48.33, 44.47, 279.20°)
OKLaboklab(55.65% -0.0263 -0.1249)
OKLCHoklch(55.65% 0.128 258.1)
XYZxyz(17.4927, 17.0577, 50.5048)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173BD #BD8B41
analogous
#41B1BD #4173BD #4D41BD
triadic
#4173BD #BD4173 #73BD41
tetradic
#4173BD #BD41B1 #BD8B41 #41BD4D
square
#4173BD #BD41B1 #BD8B41 #41BD4D
split-complementary
#4173BD #BD4D41 #B1BD41
monochromatic
#223C62 #31578F #4173BD #6E94CD #9CB6DD

Accessibility & contrast

On white

4.76
#4173BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4173BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173BD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173BD#FFFFFF#000000##FFFFFF
##4173BD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279C0
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4173bd;
/* rgb */ color: rgb(65, 115, 189);
/* oklch */ color: oklch(55.7% 0.128 258.1);
Tailwind
colors: {
  custom: {
    50: '#829ad1',
    500: '#4173bd',
    950: '#000000',
  },
}
SCSS
$custom: #4173bd;
$custom-light: #829ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4173bd",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 215.806,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.12765,
    "h": 258.1
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#4173BD
secondary
#C9B291
accent
#A14FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4173BD

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

Preview Lab → · Contrast checker → · Palette generator →

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