#4166AC#4166AC

#4166AC is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.7% C 0.119 H 262.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4166AC
RGBrgb(65, 102, 172)
HSLhsl(219, 45%, 46%)
HSVhsv(219, 62%, 67%)
CMYKcmyk(62.2%, 40.7%, 0%, 32.5%)
CIE-LABlab(43.66, 9.24, -41.43)
CIE-LCHlch(43.66, 42.45, 282.58°)
OKLaboklab(51.72% -0.0165 -0.1178)
OKLCHoklch(51.72% 0.119 262)
XYZxyz(14.3751, 13.6038, 40.8900)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166AC #AC8741
analogous
#419CAC #4166AC #5141AC
triadic
#4166AC #AC4166 #66AC41
tetradic
#4166AC #AC419C #AC8741 #41AC51
square
#4166AC #AC419C #AC8741 #41AC51
split-complementary
#4166AC #AC5141 #9CAC41
monochromatic
#1F3153 #304C80 #4166AC #6586C5 #92A9D6

Accessibility & contrast

On white

5.64
#4166AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4166AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4166AC#FFFFFF#000000##FFFFFF
##4166AC1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476DAF
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4166ac;
/* rgb */ color: rgb(65, 102, 172);
/* oklch */ color: oklch(51.7% 0.119 262.0);
Tailwind
colors: {
  custom: {
    50: '#7f91c5',
    500: '#4166ac',
    950: '#000000',
  },
}
SCSS
$custom: #4166ac;
$custom-light: #7f91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4166ac",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 219.252,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.119,
    "h": 262
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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