#4173CC#4173CC

#4173CC is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.148 H 261.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4173CC
RGBrgb(65, 115, 204)
HSLhsl(218, 58%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68.1%, 43.6%, 0%, 20%)
CIE-LABlab(49.18, 12.45, -51.15)
CIE-LCHlch(49.18, 52.64, 283.67°)
OKLaboklab(56.59% -0.0232 -0.1462)
OKLCHoklch(56.59% 0.148 261)
XYZxyz(19.2059, 17.7430, 59.5276)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173CC #CC9A41
analogous
#41B9CC #4173CC #5441CC
triadic
#4173CC #CC4173 #73CC41
tetradic
#4173CC #CC41B9 #CC9A41 #41CC54
square
#4173CC #CC41B9 #CC9A41 #41CC54
split-complementary
#4173CC #CC5441 #B9CC41
monochromatic
#1F3D74 #2C57A4 #4173CC #7197D9 #A1BAE6

Accessibility & contrast

On white

4.62
#4173CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4173CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173CC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173CC#FFFFFF#000000##FFFFFF
##4173CC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4173cc;
/* rgb */ color: rgb(65, 115, 204);
/* oklch */ color: oklch(56.6% 0.148 261.0);
Tailwind
colors: {
  custom: {
    50: '#859adc',
    500: '#4173cc',
    950: '#000000',
  },
}
SCSS
$custom: #4173cc;
$custom-light: #859adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4173cc",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 218.417,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56587,
    "c": 0.14802,
    "h": 261
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#4173CC
secondary
#D3BD96
accent
#AA47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4173CC

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

Preview Lab → · Contrast checker → · Palette generator →

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