#4166CD#4166CD

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

Color values

HEX#4166CD
RGBrgb(65, 102, 205)
HSLhsl(224, 58%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(68.3%, 50.2%, 0%, 19.6%)
CIE-LABlab(45.68, 20.99, -57.35)
CIE-LCHlch(45.68, 61.07, 290.10°)
OKLaboklab(53.92% -0.0112 -0.1646)
OKLCHoklch(53.92% 0.165 266.1)
XYZxyz(17.9470, 15.0326, 59.7015)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4166CD #CDA841
analogous
#41ACCD #4166CD #6241CD
triadic
#4166CD #CD4166 #66CD41
tetradic
#4166CD #CD41AC #CDA841 #41CD62
square
#4166CD #CD41AC #CDA841 #41CD62
split-complementary
#4166CD #CD6241 #ACCD41
monochromatic
#1F3675 #2C4CA5 #4166CD #718DDA #A2B4E6

Accessibility & contrast

On white

5.24
#4166CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4166CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4166CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4166CD#FFFFFF#000000##FFFFFF
##4166CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4166cd;
/* rgb */ color: rgb(65, 102, 205);
/* oklch */ color: oklch(53.9% 0.165 266.1);
Tailwind
colors: {
  custom: {
    50: '#8591dd',
    500: '#4166cd',
    950: '#000000',
  },
}
SCSS
$custom: #4166cd;
$custom-light: #8591dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4166cd",
  "rgb": {
    "r": 65,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 224.143,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.16501,
    "h": 266.1
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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