#4172AC#4172AC

#4172AC is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.106 H 253.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4172AC
RGBrgb(65, 114, 172)
HSLhsl(213, 45%, 46%)
HSVhsv(213, 62%, 67%)
CMYKcmyk(62.2%, 33.7%, 0%, 32.5%)
CIE-LABlab(47.15, 1.79, -35.91)
CIE-LCHlch(47.15, 35.95, 272.85°)
OKLaboklab(54.44% -0.0296 -0.1016)
OKLCHoklch(54.44% 0.106 253.8)
XYZxyz(15.6410, 16.1356, 41.3119)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172AC #AC7B41
analogous
#41A8AC #4172AC #4541AC
triadic
#4172AC #AC4172 #72AC41
tetradic
#4172AC #AC41A8 #AC7B41 #41AC45
square
#4172AC #AC41A8 #AC7B41 #41AC45
split-complementary
#4172AC #AC4541 #A8AC41
monochromatic
#1F3753 #305580 #4172AC #6591C5 #92B1D6

Accessibility & contrast

On white

4.97
#4172AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4172AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172AC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172AC#FFFFFF#000000##FFFFFF
##4172AC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4172ac;
/* rgb */ color: rgb(65, 114, 172);
/* oklch */ color: oklch(54.4% 0.106 253.8);
Tailwind
colors: {
  custom: {
    50: '#7f9ac5',
    500: '#4172ac',
    950: '#000000',
  },
}
SCSS
$custom: #4172ac;
$custom-light: #7f9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4172ac",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 212.523,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.10577,
    "h": 253.8
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#4172AC
secondary
#C1A788
accent
#9953D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4172AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4172AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva