#4166BC#4166BC

#4166BC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.142 H 264.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4166BC
RGBrgb(65, 102, 188)
HSLhsl(222, 49%, 50%)
HSVhsv(222, 65%, 74%)
CMYKcmyk(65.4%, 45.7%, 0%, 26.3%)
CIE-LABlab(44.60, 14.91, -49.28)
CIE-LCHlch(44.60, 51.49, 286.83°)
OKLaboklab(52.75% -0.0135 -0.1409)
OKLCHoklch(52.75% 0.142 264.5)
XYZxyz(16.0053, 14.2559, 49.4754)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166BC #BC9741
analogous
#41A4BC #4166BC #5941BC
triadic
#4166BC #BC4166 #66BC41
tetradic
#4166BC #BC41A4 #BC9741 #41BC59
square
#4166BC #BC41A4 #BC9741 #41BC59
split-complementary
#4166BC #BC5941 #A4BC41
monochromatic
#223561 #314D8F #4166BC #6E8ACD #9BAFDC

Accessibility & contrast

On white

5.45
#4166BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4166BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166BC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166BC#FFFFFF#000000##FFFFFF
##4166BC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBF
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4166bc;
/* rgb */ color: rgb(65, 102, 188);
/* oklch */ color: oklch(52.8% 0.142 264.5);
Tailwind
colors: {
  custom: {
    50: '#8291d1',
    500: '#4166bc',
    950: '#000000',
  },
}
SCSS
$custom: #4166bc;
$custom-light: #8291d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4166bc",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 221.951,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.14152,
    "h": 264.5
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#4166BC
secondary
#C9B890
accent
#AF50D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4166BC

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

Preview Lab → · Contrast checker → · Palette generator →

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