#4166AB#4166AB

#4166AB is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.7% C 0.118 H 261.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4166AB
RGBrgb(65, 102, 171)
HSLhsl(219, 45%, 46%)
HSVhsv(219, 62%, 67%)
CMYKcmyk(62%, 40.4%, 0%, 32.9%)
CIE-LABlab(43.60, 8.89, -40.93)
CIE-LCHlch(43.60, 41.89, 282.26°)
OKLaboklab(51.66% -0.0167 -0.1164)
OKLCHoklch(51.66% 0.118 261.8)
XYZxyz(14.2795, 13.5656, 40.3861)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166AB #AB8641
analogous
#419BAB #4166AB #5141AB
triadic
#4166AB #AB4166 #66AB41
tetradic
#4166AB #AB419B #AB8641 #41AB51
square
#4166AB #AB419B #AB8641 #41AB51
split-complementary
#4166AB #AB5141 #9BAB41
monochromatic
#1F3152 #304C7F #4166AB #6586C4 #91A9D5

Accessibility & contrast

On white

5.66
#4166AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4166AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166AB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166AB#FFFFFF#000000##FFFFFF
##4166AB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAE
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4166ab;
/* rgb */ color: rgb(65, 102, 171);
/* oklch */ color: oklch(51.7% 0.118 261.8);
Tailwind
colors: {
  custom: {
    50: '#7f91c4',
    500: '#4166ab',
    950: '#000000',
  },
}
SCSS
$custom: #4166ab;
$custom-light: #7f91c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4166ab",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 219.057,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.11758,
    "h": 261.8
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#4166AB
secondary
#C1AD87
accent
#A753D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166AB

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

Preview Lab → · Contrast checker → · Palette generator →

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