#4166CA#4166CA

#4166CA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.7% C 0.161 H 265.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4166CA
RGBrgb(65, 102, 202)
HSLhsl(224, 56%, 52%)
HSVhsv(224, 68%, 79%)
CMYKcmyk(67.8%, 49.5%, 0%, 20.8%)
CIE-LABlab(45.48, 19.92, -55.95)
CIE-LCHlch(45.48, 59.39, 289.60°)
OKLaboklab(53.71% -0.0115 -0.1605)
OKLCHoklch(53.71% 0.161 265.9)
XYZxyz(17.5883, 14.8891, 57.8126)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166CA #CAA541
analogous
#41AACA #4166CA #6141CA
triadic
#4166CA #CA4166 #66CA41
tetradic
#4166CA #CA41AA #CAA541 #41CA61
square
#4166CA #CA41AA #CAA541 #41CA61
split-complementary
#4166CA #CA6141 #AACA41
monochromatic
#203671 #2D4CA1 #4166CA #718DD7 #A1B3E5

Accessibility & contrast

On white

5.28
#4166CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4166CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166CA#FFFFFF#000000##FFFFFF
##4166CA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4166ca;
/* rgb */ color: rgb(65, 102, 202);
/* oklch */ color: oklch(53.7% 0.161 265.9);
Tailwind
colors: {
  custom: {
    50: '#8591db',
    500: '#4166ca',
    950: '#000000',
  },
}
SCSS
$custom: #4166ca;
$custom-light: #8591db;
$custom-dark: #000000;
JSON
{
  "hex": "#4166ca",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 223.796,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.16091,
    "h": 265.9
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#4166CA
secondary
#D1C196
accent
#B748E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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