#4173B9#4173B9

#4173B9 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.4% C 0.122 H 257.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4173B9
RGBrgb(65, 115, 185)
HSLhsl(215, 48%, 49%)
HSVhsv(215, 65%, 73%)
CMYKcmyk(64.9%, 37.8%, 0%, 27.5%)
CIE-LABlab(48.12, 5.70, -41.93)
CIE-LCHlch(48.12, 42.32, 277.75°)
OKLaboklab(55.41% -0.0272 -0.1191)
OKLCHoklch(55.41% 0.122 257.1)
XYZxyz(17.0645, 16.8864, 48.2496)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173B9 #B98741
analogous
#41AFB9 #4173B9 #4B41B9
triadic
#4173B9 #B94173 #73B941
tetradic
#4173B9 #B941AF #B98741 #41B94B
square
#4173B9 #B941AF #B98741 #41B94B
split-complementary
#4173B9 #B94B41 #AFB941
monochromatic
#213B5E #31578C #4173B9 #6C94CB #99B5DB

Accessibility & contrast

On white

4.80
#4173B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4173B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173B9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173B9#FFFFFF#000000##FFFFFF
##4173B91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BC
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4173b9;
/* rgb */ color: rgb(65, 115, 185);
/* oklch */ color: oklch(55.4% 0.122 257.1);
Tailwind
colors: {
  custom: {
    50: '#819ace',
    500: '#4173b9',
    950: '#000000',
  },
}
SCSS
$custom: #4173b9;
$custom-light: #819ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4173b9",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 185
  },
  "hsl": {
    "h": 215,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.12222,
    "h": 257.1
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#4173B9
secondary
#C7B08F
accent
#9F50D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4173B9

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

Preview Lab → · Contrast checker → · Palette generator →

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