#4166B3#4166B3

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

Color values

HEX#4166B3
RGBrgb(65, 102, 179)
HSLhsl(221, 47%, 48%)
HSVhsv(221, 64%, 70%)
CMYKcmyk(63.7%, 43%, 0%, 29.8%)
CIE-LABlab(44.06, 11.71, -44.90)
CIE-LCHlch(44.06, 46.40, 284.62°)
OKLaboklab(52.16% -0.0151 -0.128)
OKLCHoklch(52.16% 0.129 263.3)
XYZxyz(15.0652, 13.8799, 44.5242)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B3 #B38E41
analogous
#419FB3 #4166B3 #5541B3
triadic
#4166B3 #B34166 #66B341
tetradic
#4166B3 #B3419F #B38E41 #41B355
square
#4166B3 #B3419F #B38E41 #41B355
split-complementary
#4166B3 #B35541 #9FB341
monochromatic
#203359 #314C86 #4166B3 #6988C8 #96ABD9

Accessibility & contrast

On white

5.56
#4166B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4166B3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B3#FFFFFF#000000##FFFFFF
##4166B31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166b3;
/* rgb */ color: rgb(65, 102, 179);
/* oklch */ color: oklch(52.2% 0.129 263.3);
Tailwind
colors: {
  custom: {
    50: '#8191ca',
    500: '#4166b3',
    950: '#000000',
  },
}
SCSS
$custom: #4166b3;
$custom-light: #8191ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b3",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 220.526,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.12889,
    "h": 263.3
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#4166B3
secondary
#C4B28B
accent
#AB51D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B3

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

Preview Lab → · Contrast checker → · Palette generator →

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