#4166D1#4166D1

#4166D1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.170 H 266.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4166D1
RGBrgb(65, 102, 209)
HSLhsl(225, 61%, 54%)
HSVhsv(225, 69%, 82%)
CMYKcmyk(68.9%, 51.2%, 0%, 18%)
CIE-LABlab(45.95, 22.43, -59.22)
CIE-LCHlch(45.95, 63.32, 290.74°)
OKLaboklab(54.21% -0.0107 -0.1701)
OKLCHoklch(54.21% 0.17 266.4)
XYZxyz(18.4360, 15.2282, 62.2770)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166D1 #D1AC41
analogous
#41AED1 #4166D1 #6441D1
triadic
#4166D1 #D14166 #66D141
tetradic
#4166D1 #D141AE #D1AC41 #41D164
square
#4166D1 #D141AE #D1AC41 #41D164
split-complementary
#4166D1 #D16441 #AED141
monochromatic
#1E357A #294BAB #4166D1 #728EDD #A4B5E9

Accessibility & contrast

On white

5.19
#4166D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4166D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166D1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166D1#FFFFFF#000000##FFFFFF
##4166D11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2474D5
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4166d1;
/* rgb */ color: rgb(65, 102, 209);
/* oklch */ color: oklch(54.2% 0.170 266.4);
Tailwind
colors: {
  custom: {
    50: '#8691e0',
    500: '#4166d1',
    950: '#000000',
  },
}
SCSS
$custom: #4166d1;
$custom-light: #8691e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4166d1",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 209
  },
  "hsl": {
    "h": 224.583,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.17045,
    "h": 266.4
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#4166D1
secondary
#D6C698
accent
#BB44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4166D1

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

Preview Lab → · Contrast checker → · Palette generator →

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