#4173C9#4173C9

#4173C9 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.4% C 0.144 H 260.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4173C9
RGBrgb(65, 115, 201)
HSLhsl(218, 56%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(67.7%, 42.8%, 0%, 21.2%)
CIE-LABlab(49.01, 11.37, -49.72)
CIE-LCHlch(49.01, 51.00, 282.89°)
OKLaboklab(56.4% -0.0238 -0.142)
OKLCHoklch(56.4% 0.144 260.5)
XYZxyz(18.8496, 17.6004, 57.6509)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173C9 #C99741
analogous
#41B7C9 #4173C9 #5341C9
triadic
#4173C9 #C94173 #73C941
tetradic
#4173C9 #C941B7 #C99741 #41C953
square
#4173C9 #C941B7 #C99741 #41C953
split-complementary
#4173C9 #C95341 #B7C941
monochromatic
#203D70 #2D579F #4173C9 #7196D7 #A0B9E4

Accessibility & contrast

On white

4.65
#4173C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4173C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173C9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173C9#FFFFFF#000000##FFFFFF
##4173C91.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCC
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4173c9;
/* rgb */ color: rgb(65, 115, 201);
/* oklch */ color: oklch(56.4% 0.144 260.5);
Tailwind
colors: {
  custom: {
    50: '#849ada',
    500: '#4173c9',
    950: '#000000',
  },
}
SCSS
$custom: #4173c9;
$custom-light: #849ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4173c9",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 201
  },
  "hsl": {
    "h": 217.941,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.14396,
    "h": 260.5
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#4173C9
secondary
#D1BB95
accent
#A849DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4173C9

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

Preview Lab → · Contrast checker → · Palette generator →

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