#4173AB#4173AB

#4173AB is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.6% C 0.103 H 252.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4173AB
RGBrgb(65, 115, 171)
HSLhsl(212, 45%, 46%)
HSVhsv(212, 62%, 67%)
CMYKcmyk(62%, 32.7%, 0%, 32.9%)
CIE-LABlab(47.40, 0.84, -34.94)
CIE-LCHlch(47.40, 34.95, 271.37°)
OKLaboklab(54.62% -0.0309 -0.0987)
OKLCHoklch(54.62% 0.103 252.6)
XYZxyz(15.6587, 16.3241, 40.8458)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173AB #AB7941
analogous
#41A8AB #4173AB #4441AB
triadic
#4173AB #AB4173 #73AB41
tetradic
#4173AB #AB41A8 #AB7941 #41AB44
square
#4173AB #AB41A8 #AB7941 #41AB44
split-complementary
#4173AB #AB4441 #A8AB41
monochromatic
#1F3752 #30557F #4173AB #6592C4 #91B1D5

Accessibility & contrast

On white

4.92
#4173AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4173AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4173AB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173AB#FFFFFF#000000##FFFFFF
##4173AB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4173ab;
/* rgb */ color: rgb(65, 115, 171);
/* oklch */ color: oklch(54.6% 0.103 252.6);
Tailwind
colors: {
  custom: {
    50: '#7f9bc4',
    500: '#4173ab',
    950: '#000000',
  },
}
SCSS
$custom: #4173ab;
$custom-light: #7f9bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4173ab",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 171
  },
  "hsl": {
    "h": 211.698,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.10346,
    "h": 252.6
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#4173AB
secondary
#C1A687
accent
#9853D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4173AB

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

Preview Lab → · Contrast checker → · Palette generator →

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