#4166C1#4166C1

#4166C1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.1% C 0.148 H 265.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4166C1
RGBrgb(65, 102, 193)
HSLhsl(223, 51%, 51%)
HSVhsv(223, 66%, 76%)
CMYKcmyk(66.3%, 47.2%, 0%, 24.3%)
CIE-LABlab(44.91, 16.70, -51.68)
CIE-LCHlch(44.91, 54.31, 287.90°)
OKLaboklab(53.09% -0.0127 -0.1479)
OKLCHoklch(53.09% 0.148 265.1)
XYZxyz(16.5536, 14.4752, 52.3634)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166C1 #C19C41
analogous
#41A6C1 #4166C1 #5C41C1
triadic
#4166C1 #C14166 #66C141
tetradic
#4166C1 #C141A6 #C19C41 #41C15C
square
#4166C1 #C141A6 #C19C41 #41C15C
split-complementary
#4166C1 #C15C41 #A6C141
monochromatic
#213566 #304D94 #4166C1 #6F8BD0 #9DB0DF

Accessibility & contrast

On white

5.39
#4166C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4166C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166C1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166C1#FFFFFF#000000##FFFFFF
##4166C11.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3770C4
Deuteranopia (green-blind)
#1D65BF
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4166c1;
/* rgb */ color: rgb(65, 102, 193);
/* oklch */ color: oklch(53.1% 0.148 265.1);
Tailwind
colors: {
  custom: {
    50: '#8391d4',
    500: '#4166c1',
    950: '#000000',
  },
}
SCSS
$custom: #4166c1;
$custom-light: #8391d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4166c1",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 193
  },
  "hsl": {
    "h": 222.656,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.14849,
    "h": 265.1
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#4166C1
secondary
#CBBB92
accent
#B24EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4166C1

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

Preview Lab → · Contrast checker → · Palette generator →

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