#4166AA#4166AA

#4166AA is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.6% C 0.116 H 261.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4166AA
RGBrgb(65, 102, 170)
HSLhsl(219, 45%, 46%)
HSVhsv(219, 62%, 67%)
CMYKcmyk(61.8%, 40%, 0%, 33.3%)
CIE-LABlab(43.55, 8.54, -40.44)
CIE-LCHlch(43.55, 41.33, 281.93°)
OKLaboklab(51.6% -0.0169 -0.1149)
OKLCHoklch(51.6% 0.116 261.6)
XYZxyz(14.1845, 13.5276, 39.8860)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166AA #AA8541
analogous
#419AAA #4166AA #5041AA
triadic
#4166AA #AA4166 #66AA41
tetradic
#4166AA #AA419A #AA8541 #41AA50
square
#4166AA #AA419A #AA8541 #41AA50
split-complementary
#4166AA #AA5041 #9AAA41
monochromatic
#1F3151 #304B7E #4166AA #6486C4 #91A9D5

Accessibility & contrast

On white

5.67
#4166AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4166AA#FFFFFF#000000##FFFFFF
##4166AA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#3A62A9
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4166aa;
/* rgb */ color: rgb(65, 102, 170);
/* oklch */ color: oklch(51.6% 0.116 261.6);
Tailwind
colors: {
  custom: {
    50: '#7f91c3',
    500: '#4166aa',
    950: '#000000',
  },
}
SCSS
$custom: #4166aa;
$custom-light: #7f91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4166aa",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 218.857,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.11616,
    "h": 261.6
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#4166AA
secondary
#C0AC87
accent
#A753D4
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4166AA

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

Preview Lab → · Contrast checker → · Palette generator →

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