#4166CE#4166CE

#4166CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.166 H 266.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4166CE
RGBrgb(65, 102, 206)
HSLhsl(224, 59%, 53%)
HSVhsv(224, 68%, 81%)
CMYKcmyk(68.4%, 50.5%, 0%, 19.2%)
CIE-LABlab(45.74, 21.35, -57.82)
CIE-LCHlch(45.74, 61.64, 290.27°)
OKLaboklab(53.99% -0.0111 -0.166)
OKLCHoklch(53.99% 0.166 266.2)
XYZxyz(18.0680, 15.0810, 60.3393)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166CE #CEA941
analogous
#41ADCE #4166CE #6241CE
triadic
#4166CE #CE4166 #66CE41
tetradic
#4166CE #CE41AD #CEA941 #41CE62
square
#4166CE #CE41AD #CEA941 #41CE62
split-complementary
#4166CE #CE6241 #ADCE41
monochromatic
#1E3576 #2B4BA7 #4166CE #728DDB #A2B4E7

Accessibility & contrast

On white

5.23
#4166CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4166CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166CE#FFFFFF#000000##FFFFFF
##4166CE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4166ce;
/* rgb */ color: rgb(65, 102, 206);
/* oklch */ color: oklch(54.0% 0.166 266.2);
Tailwind
colors: {
  custom: {
    50: '#8591de',
    500: '#4166ce',
    950: '#000000',
  },
}
SCSS
$custom: #4166ce;
$custom-light: #8591de;
$custom-dark: #000000;
JSON
{
  "hex": "#4166ce",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 224.255,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.16638,
    "h": 266.2
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#4166CE
secondary
#D4C497
accent
#B946E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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