#4173BB#4173BB

#4173BB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.5% C 0.125 H 257.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4173BB
RGBrgb(65, 115, 187)
HSLhsl(215, 48%, 49%)
HSVhsv(215, 65%, 73%)
CMYKcmyk(65.2%, 38.5%, 0%, 26.7%)
CIE-LABlab(48.22, 6.41, -42.92)
CIE-LCHlch(48.22, 43.39, 278.49°)
OKLaboklab(55.53% -0.0268 -0.122)
OKLCHoklch(55.53% 0.125 257.6)
XYZxyz(17.2771, 16.9715, 49.3694)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173BB #BB8941
analogous
#41B0BB #4173BB #4C41BB
triadic
#4173BB #BB4173 #73BB41
tetradic
#4173BB #BB41B0 #BB8941 #41BB4C
square
#4173BB #BB41B0 #BB8941 #41BB4C
split-complementary
#4173BB #BB4C41 #B0BB41
monochromatic
#213B60 #31578E #4173BB #6D94CC #9AB5DC

Accessibility & contrast

On white

4.78
#4173BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4173BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173BB#FFFFFF#000000##FFFFFF
##4173BB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#426DBA
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4173bb;
/* rgb */ color: rgb(65, 115, 187);
/* oklch */ color: oklch(55.5% 0.125 257.6);
Tailwind
colors: {
  custom: {
    50: '#829ad0',
    500: '#4173bb',
    950: '#000000',
  },
}
SCSS
$custom: #4173bb;
$custom-light: #829ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4173bb",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 215.41,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.12493,
    "h": 257.6
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#4173BB
secondary
#C8B190
accent
#A050D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4173BB

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

Preview Lab → · Contrast checker → · Palette generator →

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