#4166C4#4166C4

#4166C4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.3% C 0.153 H 265.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4166C4
RGBrgb(65, 102, 196)
HSLhsl(223, 53%, 51%)
HSVhsv(223, 67%, 77%)
CMYKcmyk(66.8%, 48%, 0%, 23.1%)
CIE-LABlab(45.10, 17.77, -53.11)
CIE-LCHlch(45.10, 56.01, 288.50°)
OKLaboklab(53.29% -0.0123 -0.1521)
OKLCHoklch(53.29% 0.153 265.4)
XYZxyz(16.8917, 14.6105, 54.1438)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166C4 #C49F41
analogous
#41A7C4 #4166C4 #5D41C4
triadic
#4166C4 #C44166 #66C441
tetradic
#4166C4 #C441A7 #C49F41 #41C45D
square
#4166C4 #C441A7 #C49F41 #41C45D
split-complementary
#4166C4 #C45D41 #A7C441
monochromatic
#21356A #2F4D98 #4166C4 #708CD3 #9EB1E1

Accessibility & contrast

On white

5.35
#4166C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4166C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166C4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166C4#FFFFFF#000000##FFFFFF
##4166C41.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3471C7
Deuteranopia (green-blind)
#1665C2
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4166c4;
/* rgb */ color: rgb(65, 102, 196);
/* oklch */ color: oklch(53.3% 0.153 265.4);
Tailwind
colors: {
  custom: {
    50: '#8491d6',
    500: '#4166c4',
    950: '#000000',
  },
}
SCSS
$custom: #4166c4;
$custom-light: #8491d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4166c4",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 196
  },
  "hsl": {
    "h": 223.053,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.15264,
    "h": 265.4
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#4166C4
secondary
#CDBD93
accent
#B34CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4166C4

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

Preview Lab → · Contrast checker → · Palette generator →

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