#4166B4#4166B4

#4166B4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.2% C 0.130 H 263.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4166B4
RGBrgb(65, 102, 180)
HSLhsl(221, 47%, 48%)
HSVhsv(221, 64%, 71%)
CMYKcmyk(63.9%, 43.3%, 0%, 29.4%)
CIE-LABlab(44.12, 12.07, -45.39)
CIE-LCHlch(44.12, 46.96, 284.89°)
OKLaboklab(52.23% -0.0149 -0.1294)
OKLCHoklch(52.23% 0.13 263.4)
XYZxyz(15.1667, 13.9205, 45.0588)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B4 #B48F41
analogous
#419FB4 #4166B4 #5641B4
triadic
#4166B4 #B44166 #66B441
tetradic
#4166B4 #B4419F #B48F41 #41B456
square
#4166B4 #B4419F #B48F41 #41B456
split-complementary
#4166B4 #B45641 #9FB441
monochromatic
#21335A #314D87 #4166B4 #6988C9 #96ACD9

Accessibility & contrast

On white

5.55
#4166B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4166B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4166B4#FFFFFF#000000##FFFFFF
##4166B41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426EB7
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166b4;
/* rgb */ color: rgb(65, 102, 180);
/* oklch */ color: oklch(52.2% 0.130 263.4);
Tailwind
colors: {
  custom: {
    50: '#8191cb',
    500: '#4166b4',
    950: '#000000',
  },
}
SCSS
$custom: #4166b4;
$custom-light: #8191cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b4",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 220.696,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.1303,
    "h": 263.4
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

primary
#4166B4
secondary
#C5B38C
accent
#AC51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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