#4170AA#4170AA

#4170AA is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.105 H 254.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4170AA
RGBrgb(65, 112, 170)
HSLhsl(213, 45%, 46%)
HSVhsv(213, 62%, 67%)
CMYKcmyk(61.8%, 34.1%, 0%, 33.3%)
CIE-LABlab(46.46, 2.32, -35.82)
CIE-LCHlch(46.46, 35.90, 273.71°)
OKLaboklab(53.87% -0.0279 -0.1013)
OKLCHoklch(53.87% 0.105 254.6)
XYZxyz(15.2272, 15.6130, 40.2336)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4170AA #AA7B41
analogous
#41A4AA #4170AA #4641AA
triadic
#4170AA #AA4170 #70AA41
tetradic
#4170AA #AA41A4 #AA7B41 #41AA46
square
#4170AA #AA41A4 #AA7B41 #41AA46
split-complementary
#4170AA #AA4641 #A4AA41
monochromatic
#1F3651 #30537E #4170AA #648FC4 #91AFD5

Accessibility & contrast

On white

5.09
#4170AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4170AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4170AA#FFFFFF#000000##FFFFFF
##4170AA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5774AC
Deuteranopia (green-blind)
#496AA9
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4170aa;
/* rgb */ color: rgb(65, 112, 170);
/* oklch */ color: oklch(53.9% 0.105 254.6);
Tailwind
colors: {
  custom: {
    50: '#7f98c3',
    500: '#4170aa',
    950: '#000000',
  },
}
SCSS
$custom: #4170aa;
$custom-light: #7f98c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4170aa",
  "rgb": {
    "r": 65,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 213.143,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.10511,
    "h": 254.6
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#4170AA
secondary
#C0A687
accent
#9B53D4
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4170AA

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

Preview Lab → · Contrast checker → · Palette generator →

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