#4172AF#4172AF

#4172AF is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.6% C 0.110 H 254.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4172AF
RGBrgb(65, 114, 175)
HSLhsl(213, 46%, 47%)
HSVhsv(213, 63%, 69%)
CMYKcmyk(62.9%, 34.9%, 0%, 31.4%)
CIE-LABlab(47.30, 2.83, -37.42)
CIE-LCHlch(47.30, 37.52, 274.32°)
OKLaboklab(54.61% -0.0287 -0.106)
OKLCHoklch(54.61% 0.11 254.8)
XYZxyz(15.9324, 16.2521, 42.8465)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4172AF #AF7E41
analogous
#41A9AF #4172AF #4741AF
triadic
#4172AF #AF4172 #72AF41
tetradic
#4172AF #AF41A9 #AF7E41 #41AF47
square
#4172AF #AF41A9 #AF7E41 #41AF47
split-complementary
#4172AF #AF4741 #A9AF41
monochromatic
#203856 #305582 #4172AF #6791C6 #93B2D7

Accessibility & contrast

On white

4.94
#4172AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4172AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4172AF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4172AF#FFFFFF#000000##FFFFFF
##4172AF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4172af;
/* rgb */ color: rgb(65, 114, 175);
/* oklch */ color: oklch(54.6% 0.110 254.8);
Tailwind
colors: {
  custom: {
    50: '#809ac7',
    500: '#4172af',
    950: '#000000',
  },
}
SCSS
$custom: #4172af;
$custom-light: #809ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4172af",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 213.273,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.10979,
    "h": 254.8
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#4172AF
secondary
#C2A989
accent
#9B52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4172AF

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

Preview Lab → · Contrast checker → · Palette generator →

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