#4166CC#4166CC

#4166CC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.9% C 0.164 H 266.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4166CC
RGBrgb(65, 102, 204)
HSLhsl(224, 58%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(68.1%, 50%, 0%, 20%)
CIE-LABlab(45.61, 20.63, -56.89)
CIE-LCHlch(45.61, 60.51, 289.94°)
OKLaboklab(53.85% -0.0113 -0.1633)
OKLCHoklch(53.85% 0.164 266.1)
XYZxyz(17.8266, 14.9844, 59.0678)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166CC #CCA741
analogous
#41ABCC #4166CC #6241CC
triadic
#4166CC #CC4166 #66CC41
tetradic
#4166CC #CC41AB #CCA741 #41CC62
square
#4166CC #CC41AB #CCA741 #41CC62
split-complementary
#4166CC #CC6241 #ABCC41
monochromatic
#1F3674 #2C4CA4 #4166CC #718DD9 #A1B4E6

Accessibility & contrast

On white

5.25
#4166CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4166CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166CC#FFFFFF#000000##FFFFFF
##4166CC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4166cc;
/* rgb */ color: rgb(65, 102, 204);
/* oklch */ color: oklch(53.9% 0.164 266.1);
Tailwind
colors: {
  custom: {
    50: '#8591dc',
    500: '#4166cc',
    950: '#000000',
  },
}
SCSS
$custom: #4166cc;
$custom-light: #8591dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4166cc",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 224.029,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.16365,
    "h": 266.1
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#4166CC
secondary
#D3C296
accent
#B847E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4166CC

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

Preview Lab → · Contrast checker → · Palette generator →

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