#4166C5#4166C5

#4166C5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.154 H 265.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4166C5
RGBrgb(65, 102, 197)
HSLhsl(223, 53%, 51%)
HSVhsv(223, 67%, 77%)
CMYKcmyk(67%, 48.2%, 0%, 22.7%)
CIE-LABlab(45.16, 18.13, -53.59)
CIE-LCHlch(45.16, 56.57, 288.69°)
OKLaboklab(53.36% -0.0121 -0.1535)
OKLCHoklch(53.36% 0.154 265.5)
XYZxyz(17.0059, 14.6561, 54.7452)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166C5 #C5A041
analogous
#41A8C5 #4166C5 #5E41C5
triadic
#4166C5 #C54166 #66C541
tetradic
#4166C5 #C541A8 #C5A041 #41C55E
square
#4166C5 #C541A8 #C5A041 #41C55E
split-complementary
#4166C5 #C55E41 #A8C541
monochromatic
#21356B #2F4D9A #4166C5 #708CD3 #9FB2E2

Accessibility & contrast

On white

5.34
#4166C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4166C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166C5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166C5#FFFFFF#000000##FFFFFF
##4166C51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3371C8
Deuteranopia (green-blind)
#1365C3
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4166c5;
/* rgb */ color: rgb(65, 102, 197);
/* oklch */ color: oklch(53.4% 0.154 265.5);
Tailwind
colors: {
  custom: {
    50: '#8491d7',
    500: '#4166c5',
    950: '#000000',
  },
}
SCSS
$custom: #4166c5;
$custom-light: #8491d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4166c5",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 197
  },
  "hsl": {
    "h": 223.182,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.15403,
    "h": 265.5
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#4166C5
secondary
#CEBE94
accent
#B44BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4166C5

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

Preview Lab → · Contrast checker → · Palette generator →

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