#4166A2#4166A2

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

Color values

HEX#4166A2
RGBrgb(65, 102, 162)
HSLhsl(217, 43%, 45%)
HSVhsv(217, 60%, 64%)
CMYKcmyk(59.9%, 37%, 0%, 36.5%)
CIE-LABlab(43.11, 5.76, -36.40)
CIE-LCHlch(43.11, 36.86, 278.99°)
OKLaboklab(51.12% -0.0188 -0.1031)
OKLCHoklch(51.12% 0.105 259.7)
XYZxyz(13.4507, 13.2340, 36.0210)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166A2 #A27D41
analogous
#4197A2 #4166A2 #4C41A2
triadic
#4166A2 #A24166 #66A241
tetradic
#4166A2 #A24197 #A27D41 #41A24C
square
#4166A2 #A24197 #A27D41 #41A24C
split-complementary
#4166A2 #A24C41 #97A241
monochromatic
#1E2F4B #2F4B76 #4166A2 #6185BF #8CA7D1

Accessibility & contrast

On white

5.76
#4166A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4166A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166A2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166A2#FFFFFF#000000##FFFFFF
##4166A21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA4
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4166a2;
/* rgb */ color: rgb(65, 102, 162);
/* oklch */ color: oklch(51.1% 0.105 259.7);
Tailwind
colors: {
  custom: {
    50: '#7e91be',
    500: '#4166a2',
    950: '#000000',
  },
}
SCSS
$custom: #4166a2;
$custom-light: #7e91be;
$custom-dark: #000000;
JSON
{
  "hex": "#4166a2",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 162
  },
  "hsl": {
    "h": 217.113,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.10483,
    "h": 259.7
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#4166A2
secondary
#BCA683
accent
#A355D3
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4166A2

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

Preview Lab → · Contrast checker → · Palette generator →

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