#4166C7#4166C7

#4166C7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.5% C 0.157 H 265.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4166C7
RGBrgb(65, 102, 199)
HSLhsl(223, 54%, 52%)
HSVhsv(223, 67%, 78%)
CMYKcmyk(67.3%, 48.7%, 0%, 22%)
CIE-LABlab(45.29, 18.84, -54.53)
CIE-LCHlch(45.29, 57.70, 289.06°)
OKLaboklab(53.5% -0.0119 -0.1563)
OKLCHoklch(53.5% 0.157 265.7)
XYZxyz(17.2366, 14.7484, 55.9601)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166C7 #C7A241
analogous
#41A9C7 #4166C7 #5F41C7
triadic
#4166C7 #C74166 #66C741
tetradic
#4166C7 #C741A9 #C7A241 #41C75F
square
#4166C7 #C741A9 #C7A241 #41C75F
split-complementary
#4166C7 #C75F41 #A9C741
monochromatic
#20366D #2E4D9D #4166C7 #708CD5 #A0B2E3

Accessibility & contrast

On white

5.32
#4166C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4166C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166C7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166C7#FFFFFF#000000##FFFFFF
##4166C71.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3172CB
Deuteranopia (green-blind)
#0C65C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4166c7;
/* rgb */ color: rgb(65, 102, 199);
/* oklch */ color: oklch(53.5% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#8491d9',
    500: '#4166c7',
    950: '#000000',
  },
}
SCSS
$custom: #4166c7;
$custom-light: #8491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4166c7",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 223.433,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.535,
    "c": 0.15679,
    "h": 265.7
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#4166C7
secondary
#CFBF95
accent
#B54ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4166C7

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

Preview Lab → · Contrast checker → · Palette generator →

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