#4166AD#4166AD

#4166AD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.8% C 0.120 H 262.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4166AD
RGBrgb(65, 102, 173)
HSLhsl(219, 45%, 47%)
HSVhsv(219, 62%, 68%)
CMYKcmyk(62.4%, 41%, 0%, 32.2%)
CIE-LABlab(43.72, 9.59, -41.93)
CIE-LCHlch(43.72, 43.01, 282.89°)
OKLaboklab(51.79% -0.0163 -0.1193)
OKLCHoklch(51.79% 0.12 262.2)
XYZxyz(14.4715, 13.6424, 41.3977)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166AD #AD8841
analogous
#419CAD #4166AD #5241AD
triadic
#4166AD #AD4166 #66AD41
tetradic
#4166AD #AD419C #AD8841 #41AD52
square
#4166AD #AD419C #AD8841 #41AD52
split-complementary
#4166AD #AD5241 #9CAD41
monochromatic
#203254 #304C81 #4166AD #6687C5 #92AAD6

Accessibility & contrast

On white

5.63
#4166AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4166AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4166AD#FFFFFF#000000##FFFFFF
##4166AD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4166ad;
/* rgb */ color: rgb(65, 102, 173);
/* oklch */ color: oklch(51.8% 0.120 262.2);
Tailwind
colors: {
  custom: {
    50: '#8091c6',
    500: '#4166ad',
    950: '#000000',
  },
}
SCSS
$custom: #4166ad;
$custom-light: #8091c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4166ad",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 173
  },
  "hsl": {
    "h": 219.444,
    "s": 45.378,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.12042,
    "h": 262.2
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#4166AD
secondary
#C2AE88
accent
#A853D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166AD

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

Preview Lab → · Contrast checker → · Palette generator →

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