#4166C8#4166C8

#4166C8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.6% C 0.158 H 265.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4166C8
RGBrgb(65, 102, 200)
HSLhsl(224, 55%, 52%)
HSVhsv(224, 68%, 78%)
CMYKcmyk(67.5%, 49%, 0%, 21.6%)
CIE-LABlab(45.35, 19.20, -55.01)
CIE-LCHlch(45.35, 58.26, 289.24°)
OKLaboklab(53.57% -0.0117 -0.1577)
OKLCHoklch(53.57% 0.158 265.7)
XYZxyz(17.3530, 14.7950, 56.5736)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166C8 #C8A341
analogous
#41A9C8 #4166C8 #6041C8
triadic
#4166C8 #C84166 #66C841
tetradic
#4166C8 #C841A9 #C8A341 #41C860
square
#4166C8 #C841A9 #C8A341 #41C860
split-complementary
#4166C8 #C86041 #A9C841
monochromatic
#20366F #2E4D9E #4166C8 #708CD6 #A0B2E3

Accessibility & contrast

On white

5.30
#4166C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4166C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166C8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166C8#FFFFFF#000000##FFFFFF
##4166C81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#0766C6
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4166c8;
/* rgb */ color: rgb(65, 102, 200);
/* oklch */ color: oklch(53.6% 0.158 265.7);
Tailwind
colors: {
  custom: {
    50: '#8491d9',
    500: '#4166c8',
    950: '#000000',
  },
}
SCSS
$custom: #4166c8;
$custom-light: #8491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4166c8",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 223.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.15817,
    "h": 265.7
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#4166C8
secondary
#D0C095
accent
#B649DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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