#4166A4#4166A4

#4166A4 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.2% C 0.108 H 260.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4166A4
RGBrgb(65, 102, 164)
HSLhsl(218, 43%, 45%)
HSVhsv(218, 60%, 64%)
CMYKcmyk(60.4%, 37.8%, 0%, 35.7%)
CIE-LABlab(43.22, 6.45, -37.42)
CIE-LCHlch(43.22, 37.97, 279.78°)
OKLaboklab(51.24% -0.0183 -0.1061)
OKLCHoklch(51.24% 0.108 260.2)
XYZxyz(13.6298, 13.3057, 36.9648)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166A4 #A47F41
analogous
#4197A4 #4166A4 #4E41A4
triadic
#4166A4 #A44166 #66A441
tetradic
#4166A4 #A44197 #A47F41 #41A44E
square
#4166A4 #A44197 #A47F41 #41A44E
split-complementary
#4166A4 #A44E41 #97A441
monochromatic
#1E2F4C #304B78 #4166A4 #6285C1 #8DA7D2

Accessibility & contrast

On white

5.74
#4166A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4166A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4166A4#FFFFFF#000000##FFFFFF
##4166A41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4166a4;
/* rgb */ color: rgb(65, 102, 164);
/* oklch */ color: oklch(51.2% 0.108 260.2);
Tailwind
colors: {
  custom: {
    50: '#7e91bf',
    500: '#4166a4',
    950: '#000000',
  },
}
SCSS
$custom: #4166a4;
$custom-light: #7e91bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4166a4",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 164
  },
  "hsl": {
    "h": 217.576,
    "s": 43.231,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.10766,
    "h": 260.2
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4166A4
secondary
#BDA884
accent
#A455D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4166A4

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

Preview Lab → · Contrast checker → · Palette generator →

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