#4166B5#4166B5

#4166B5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.3% C 0.132 H 263.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4166B5
RGBrgb(65, 102, 181)
HSLhsl(221, 47%, 48%)
HSVhsv(221, 64%, 71%)
CMYKcmyk(64.1%, 43.6%, 0%, 29%)
CIE-LABlab(44.18, 12.42, -45.88)
CIE-LCHlch(44.18, 47.53, 285.15°)
OKLaboklab(52.29% -0.0147 -0.1309)
OKLCHoklch(52.29% 0.132 263.6)
XYZxyz(15.2689, 13.9614, 45.5973)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166B5 #B59041
analogous
#41A0B5 #4166B5 #5641B5
triadic
#4166B5 #B54166 #66B541
tetradic
#4166B5 #B541A0 #B59041 #41B556
square
#4166B5 #B541A0 #B59041 #41B556
split-complementary
#4166B5 #B55641 #A0B541
monochromatic
#21335B #314D88 #4166B5 #6A88C9 #97ACDA

Accessibility & contrast

On white

5.54
#4166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4166B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166B5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166B5#FFFFFF#000000##FFFFFF
##4166B51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416EB8
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4166b5;
/* rgb */ color: rgb(65, 102, 181);
/* oklch */ color: oklch(52.3% 0.132 263.6);
Tailwind
colors: {
  custom: {
    50: '#8191cc',
    500: '#4166b5',
    950: '#000000',
  },
}
SCSS
$custom: #4166b5;
$custom-light: #8191cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4166b5",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 220.862,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.1317,
    "h": 263.6
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#4166B5
secondary
#C5B38C
accent
#AC51D7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4166B5

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

Preview Lab → · Contrast checker → · Palette generator →

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