#4173BA#4173BA

#4173BA is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.124 H 257.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4173BA
RGBrgb(65, 115, 186)
HSLhsl(215, 48%, 49%)
HSVhsv(215, 65%, 73%)
CMYKcmyk(65.1%, 38.2%, 0%, 27.1%)
CIE-LABlab(48.17, 6.06, -42.43)
CIE-LCHlch(48.17, 42.86, 278.12°)
OKLaboklab(55.47% -0.027 -0.1206)
OKLCHoklch(55.47% 0.124 257.4)
XYZxyz(17.1705, 16.9288, 48.8076)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173BA #BA8841
analogous
#41B0BA #4173BA #4C41BA
triadic
#4173BA #BA4173 #73BA41
tetradic
#4173BA #BA41B0 #BA8841 #41BA4C
square
#4173BA #BA41B0 #BA8841 #41BA4C
split-complementary
#4173BA #BA4C41 #B0BA41
monochromatic
#213B5F #31578D #4173BA #6C94CC #9AB5DC

Accessibility & contrast

On white

4.79
#4173BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4173BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173BA#FFFFFF#000000##FFFFFF
##4173BA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4173ba;
/* rgb */ color: rgb(65, 115, 186);
/* oklch */ color: oklch(55.5% 0.124 257.4);
Tailwind
colors: {
  custom: {
    50: '#829acf',
    500: '#4173ba',
    950: '#000000',
  },
}
SCSS
$custom: #4173ba;
$custom-light: #829acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4173ba",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 186
  },
  "hsl": {
    "h": 215.207,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.12358,
    "h": 257.4
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4173BA

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

Preview Lab → · Contrast checker → · Palette generator →

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