#4166B0#4166B0

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

Color values

HEX#4166B0
RGBrgb(65, 102, 176)
HSLhsl(220, 46%, 47%)
HSVhsv(220, 63%, 69%)
CMYKcmyk(63.1%, 42%, 0%, 31%)
CIE-LABlab(43.89, 10.65, -43.42)
CIE-LCHlch(43.89, 44.71, 283.78°)
OKLaboklab(51.97% -0.0156 -0.1237)
OKLCHoklch(51.97% 0.125 262.8)
XYZxyz(14.7651, 13.7598, 42.9437)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B0 #B08B41
analogous
#419EB0 #4166B0 #5441B0
triadic
#4166B0 #B04166 #66B041
tetradic
#4166B0 #B0419E #B08B41 #41B054
square
#4166B0 #B0419E #B08B41 #41B054
split-complementary
#4166B0 #B05441 #9EB041
monochromatic
#203257 #304C83 #4166B0 #6787C7 #94AAD7

Accessibility & contrast

On white

5.60
#4166B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4166B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B0#FFFFFF#000000##FFFFFF
##4166B01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB3
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166b0;
/* rgb */ color: rgb(65, 102, 176);
/* oklch */ color: oklch(52.0% 0.125 262.8);
Tailwind
colors: {
  custom: {
    50: '#8091c8',
    500: '#4166b0',
    950: '#000000',
  },
}
SCSS
$custom: #4166b0;
$custom-light: #8091c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b0",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 220,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.12466,
    "h": 262.8
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4166B0

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

Preview Lab → · Contrast checker → · Palette generator →

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