#4173CD#4173CD

#4173CD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.149 H 261.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4173CD
RGBrgb(65, 115, 205)
HSLhsl(219, 58%, 53%)
HSVhsv(219, 68%, 80%)
CMYKcmyk(68.3%, 43.9%, 0%, 19.6%)
CIE-LABlab(49.24, 12.80, -51.63)
CIE-LCHlch(49.24, 53.19, 283.93°)
OKLaboklab(56.65% -0.023 -0.1476)
OKLCHoklch(56.65% 0.149 261.1)
XYZxyz(19.3262, 17.7911, 60.1613)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173CD #CD9B41
analogous
#41B9CD #4173CD #5541CD
triadic
#4173CD #CD4173 #73CD41
tetradic
#4173CD #CD41B9 #CD9B41 #41CD55
square
#4173CD #CD41B9 #CD9B41 #41CD55
split-complementary
#4173CD #CD5541 #B9CD41
monochromatic
#1F3E75 #2C57A5 #4173CD #7197DA #A2BAE6

Accessibility & contrast

On white

4.61
#4173CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4173CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173CD#FFFFFF#000000##FFFFFF
##4173CD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4173cd;
/* rgb */ color: rgb(65, 115, 205);
/* oklch */ color: oklch(56.7% 0.149 261.1);
Tailwind
colors: {
  custom: {
    50: '#859add',
    500: '#4173cd',
    950: '#000000',
  },
}
SCSS
$custom: #4173cd;
$custom-light: #859add;
$custom-dark: #000000;
JSON
{
  "hex": "#4173cd",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 218.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.14937,
    "h": 261.1
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#4173CD
secondary
#D3BE97
accent
#AA46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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