#4166B1#4166B1

#4166B1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.0% C 0.126 H 263.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4166B1
RGBrgb(65, 102, 177)
HSLhsl(220, 46%, 47%)
HSVhsv(220, 63%, 69%)
CMYKcmyk(63.3%, 42.4%, 0%, 30.6%)
CIE-LABlab(43.94, 11.01, -43.91)
CIE-LCHlch(43.94, 45.27, 284.07°)
OKLaboklab(52.04% -0.0154 -0.1251)
OKLCHoklch(52.04% 0.126 263)
XYZxyz(14.8644, 13.7995, 43.4667)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B1 #B18C41
analogous
#419EB1 #4166B1 #5441B1
triadic
#4166B1 #B14166 #66B141
tetradic
#4166B1 #B1419E #B18C41 #41B154
square
#4166B1 #B1419E #B18C41 #41B154
split-complementary
#4166B1 #B15441 #9EB141
monochromatic
#203257 #314C84 #4166B1 #6887C7 #95ABD8

Accessibility & contrast

On white

5.58
#4166B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4166B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B1#FFFFFF#000000##FFFFFF
##4166B11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB4
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166b1;
/* rgb */ color: rgb(65, 102, 177);
/* oklch */ color: oklch(52.0% 0.126 263.0);
Tailwind
colors: {
  custom: {
    50: '#8091c9',
    500: '#4166b1',
    950: '#000000',
  },
}
SCSS
$custom: #4166b1;
$custom-light: #8091c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b1",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 220.179,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.12607,
    "h": 263
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#4166B1
secondary
#C3B18A
accent
#AA52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B1

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

Preview Lab → · Contrast checker → · Palette generator →

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