#4166A1#4166A1

#4166A1 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.1% C 0.103 H 259.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4166A1
RGBrgb(65, 102, 161)
HSLhsl(217, 42%, 44%)
HSVhsv(217, 60%, 63%)
CMYKcmyk(59.6%, 36.6%, 0%, 36.9%)
CIE-LABlab(43.06, 5.41, -35.89)
CIE-LCHlch(43.06, 36.30, 278.57°)
OKLaboklab(51.07% -0.0191 -0.1016)
OKLCHoklch(51.07% 0.103 259.4)
XYZxyz(13.3621, 13.1986, 35.5547)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166A1 #A17C41
analogous
#4196A1 #4166A1 #4C41A1
triadic
#4166A1 #A14166 #66A141
tetradic
#4166A1 #A14196 #A17C41 #41A14C
square
#4166A1 #A14196 #A17C41 #41A14C
split-complementary
#4166A1 #A14C41 #96A141
monochromatic
#1E2F4A #2F4A75 #4166A1 #6085BF #8CA6D1

Accessibility & contrast

On white

5.77
#4166A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4166A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4166A1#FFFFFF#000000##FFFFFF
##4166A11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA3
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4166a1;
/* rgb */ color: rgb(65, 102, 161);
/* oklch */ color: oklch(51.1% 0.103 259.4);
Tailwind
colors: {
  custom: {
    50: '#7e91bd',
    500: '#4166a1',
    950: '#000000',
  },
}
SCSS
$custom: #4166a1;
$custom-light: #7e91bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4166a1",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 161
  },
  "hsl": {
    "h": 216.875,
    "s": 42.478,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.10342,
    "h": 259.4
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#4166A1
secondary
#BBA582
accent
#A256D2
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4166A1

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

Preview Lab → · Contrast checker → · Palette generator →

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