#4173BE#4173BE

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

Color values

HEX#4173BE
RGBrgb(65, 115, 190)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(65.8%, 39.5%, 0%, 25.5%)
CIE-LABlab(48.39, 7.47, -44.39)
CIE-LCHlch(48.39, 45.01, 279.55°)
OKLaboklab(55.71% -0.0261 -0.1263)
OKLCHoklch(55.71% 0.129 258.3)
XYZxyz(17.6016, 17.1013, 51.0785)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173BE #BE8C41
analogous
#41B2BE #4173BE #4D41BE
triadic
#4173BE #BE4173 #73BE41
tetradic
#4173BE #BE41B2 #BE8C41 #41BE4D
square
#4173BE #BE41B2 #BE8C41 #41BE4D
split-complementary
#4173BE #BE4D41 #B2BE41
monochromatic
#223C63 #315790 #4173BE #6F95CE #9CB6DD

Accessibility & contrast

On white

4.75
#4173BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4173BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173BE#FFFFFF#000000##FFFFFF
##4173BE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#3F6EBC
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4173be;
/* rgb */ color: rgb(65, 115, 190);
/* oklch */ color: oklch(55.7% 0.129 258.3);
Tailwind
colors: {
  custom: {
    50: '#829ad2',
    500: '#4173be',
    950: '#000000',
  },
}
SCSS
$custom: #4173be;
$custom-light: #829ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4173be",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 216,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.55713,
    "c": 0.129,
    "h": 258.3
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#4173BE
secondary
#C9B391
accent
#A24FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4173BE

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

Preview Lab → · Contrast checker → · Palette generator →

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