#4170AF#4170AF

#4170AF is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.112 H 256.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4170AF
RGBrgb(65, 112, 175)
HSLhsl(214, 46%, 47%)
HSVhsv(214, 63%, 69%)
CMYKcmyk(62.9%, 36%, 0%, 31.4%)
CIE-LABlab(46.72, 4.06, -38.34)
CIE-LCHlch(46.72, 38.55, 276.04°)
OKLaboklab(54.15% -0.0266 -0.1087)
OKLCHoklch(54.15% 0.112 256.3)
XYZxyz(15.7092, 15.8058, 42.7721)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4170AF #AF8041
analogous
#41A7AF #4170AF #4941AF
triadic
#4170AF #AF4170 #70AF41
tetradic
#4170AF #AF41A7 #AF8041 #41AF49
square
#4170AF #AF41A7 #AF8041 #41AF49
split-complementary
#4170AF #AF4941 #A7AF41
monochromatic
#203756 #305382 #4170AF #6790C6 #93B0D7

Accessibility & contrast

On white

5.05
#4170AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4170AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4170AF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4170AF#FFFFFF#000000##FFFFFF
##4170AF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4170af;
/* rgb */ color: rgb(65, 112, 175);
/* oklch */ color: oklch(54.2% 0.112 256.3);
Tailwind
colors: {
  custom: {
    50: '#8098c7',
    500: '#4170af',
    950: '#000000',
  },
}
SCSS
$custom: #4170af;
$custom-light: #8098c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4170af",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 214.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.11188,
    "h": 256.3
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#4170AF
secondary
#C2AA89
accent
#9D52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4170AF

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

Preview Lab → · Contrast checker → · Palette generator →

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