#4173BC#4173BC

#4173BC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.126 H 257.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4173BC
RGBrgb(65, 115, 188)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 65%, 74%)
CMYKcmyk(65.4%, 38.8%, 0%, 26.3%)
CIE-LABlab(48.28, 6.76, -43.41)
CIE-LCHlch(48.28, 43.93, 278.85°)
OKLaboklab(55.59% -0.0265 -0.1235)
OKLCHoklch(55.59% 0.126 257.9)
XYZxyz(17.3846, 17.0144, 49.9351)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173BC #BC8A41
analogous
#41B1BC #4173BC #4D41BC
triadic
#4173BC #BC4173 #73BC41
tetradic
#4173BC #BC41B1 #BC8A41 #41BC4D
square
#4173BC #BC41B1 #BC8A41 #41BC4D
split-complementary
#4173BC #BC4D41 #B1BC41
monochromatic
#223B61 #31578F #4173BC #6E94CD #9BB6DC

Accessibility & contrast

On white

4.77
#4173BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4173BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173BC#FFFFFF#000000##FFFFFF
##4173BC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#416DBB
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4173bc;
/* rgb */ color: rgb(65, 115, 188);
/* oklch */ color: oklch(55.6% 0.126 257.9);
Tailwind
colors: {
  custom: {
    50: '#829ad0',
    500: '#4173bc',
    950: '#000000',
  },
}
SCSS
$custom: #4173bc;
$custom-light: #829ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4173bc",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 215.61,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.12629,
    "h": 257.9
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#4173BC
secondary
#C9B290
accent
#A150D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4173BC

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

Preview Lab → · Contrast checker → · Palette generator →

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